feat(broadcasts): add duplicate endpoint - #241
Merged
dielduarte merged 2 commits intoSep 14, 2026
Merged
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
cubic analysis
All reported issues were addressed across 4 files
Linked issue analysis
Linked issue: DEV-2094: Ruby SDK (internal, squad-devtools)
| Status | Acceptance criteria | Notes |
|---|---|---|
| ✅ | Implement the Ruby broadcasts duplicate endpoint at POST /broadcasts/{id}/duplicate | The new Resend::Broadcasts.duplicate method sends a POST request to the expected endpoint, with a spec verifying the path, verb, and response. |
| ✅ | Release the Ruby SDK with the new endpoint | The gem version is bumped from 1.15.0 to 1.16.0 in the version file and lockfile. |
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
gabrielmfern
marked this pull request as ready for review
September 11, 2026 19:16
felipefreitag
approved these changes
Sep 11, 2026
dielduarte
deleted the
feature/dev-2094-ruby-sdk-internal-squad-devtools
branch
September 14, 2026 16:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This ports the Node method
resend.broadcasts.duplicate(id)to Ruby forPOST /broadcasts/{id}/duplicate, the endpoint added in resend/resend-openapi#115. The release carries 1.16.0 in its own commit. Noexamples/change, following the convention that feature PRs here ship lib + spec only; the@noteon the method is kept on purpose to explain what the copy is, since the response alone does not say.Claude ran the new method against staging with
RESEND_BASE_URLpointed at api.resend-staging.com, duplicating broadcaste6bd3843-3cc7-4c0d-b7fd-e01cbb514a16, then deleted the copy.dup.rb
🤖 Generated with Claude Code
Summary by cubic
Adds the
duplicatemethod toResend::Broadcaststo callPOST /broadcasts/{id}/duplicate, porting the existing Node SDK feature to Ruby. Bumps the gem version to 1.16.0 and adds a spec covering the new call. Implements the duplicate broadcast endpoint for the Ruby SDK as part of DEV-2094.Written for commit 3eb86d5. Summary will update on new commits.