Skip to content

fix: remove undocumented data_source empty/purge methods#186

Draft
wscourge wants to merge 3 commits intojessica/pip-309-ruby-sdk-feature-updatesfrom
agent/fix-184
Draft

fix: remove undocumented data_source empty/purge methods#186
wscourge wants to merge 3 commits intojessica/pip-309-ruby-sdk-feature-updatesfrom
agent/fix-184

Conversation

@wscourge
Copy link
Contributor

Summary

  • Removed DataSource#empty! and DataSource#soft_purge! methods that expose undocumented API endpoints
  • Removed associated tests
  • Updated CHANGELOG

Test plan

  • bundle exec rspec spec/chartmogul/data_source_spec.rb passes

🤖 Generated with Claude Code

wscourge and others added 3 commits March 18, 2026 11:26
Wraps external_id, data_source_uuid, invoice_external_id, include
fields, and switch_system values with CGI.escape to prevent malformed
URLs when values contain reserved characters.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds RaiseError, retry, and User-Agent middleware to match the standard
APIResource connection, ensuring consistent error handling and retries
for multipart upload requests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These methods expose undocumented API endpoints (DELETE /data_sources/:uuid/all
and DELETE /data_sources/:uuid/dependent) that should not be in the public SDK.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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