Skip to content

feat(automations): duplicate endpoint - #219

Open
gabrielmfern wants to merge 3 commits into
mainfrom
feature/dev-1707-ruby-sdk-internal-squad-devtools
Open

feat(automations): duplicate endpoint#219
gabrielmfern wants to merge 3 commits into
mainfrom
feature/dev-1707-ruby-sdk-internal-squad-devtools

Conversation

@gabrielmfern

@gabrielmfern gabrielmfern commented Aug 14, 2026

Copy link
Copy Markdown
Member

Adds Resend::Automations.duplicate(automation_id) for POST /automations/{id}/duplicate.

Resolves DEV-1707. Mirrors the existing stop pattern and resend-node resend/resend-node#1071.

🤖 Generated with Claude Code


Summary by cubic

Adds Resend::Automations.duplicate(automation_id) to expose POST /automations/:id/duplicate in the Ruby SDK. Previously duplication wasn’t available; now clients can duplicate automations, aligning with the Automations API for DEV-1707. No breaking changes.

  • Uses Resend::Request with path automations/:id/duplicate, verb post, empty body; mirrors the existing stop implementation.
  • Specs cover the request path/verb and a happy-path response, retaining current “should” descriptions.

Written for commit f506193. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread spec/automations_spec.rb
Signed-off-by: Gabriel Miranda <gabriel@resend.com>
@gabrielmfern
gabrielmfern marked this pull request as ready for review August 14, 2026 15:26
@gabrielmfern
gabrielmfern requested a review from drish August 14, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant