Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
github.repository == 'stainless-sdks/whopsdk-ruby' &&
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand All @@ -39,7 +39,7 @@ jobs:
github.repository == 'stainless-sdks/whopsdk-ruby' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -60,9 +60,9 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand All @@ -76,9 +76,9 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/whopsdk-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'whopio/whopsdk-ruby' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.39"
".": "0.0.40"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 212
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc/whopsdk-da82dade0c316b9abd0320bf7b1b5f3472c265106a1c53ffbb78611eacc16617.yml
openapi_spec_hash: 2454acce3b15eaed1c5ad8554c0d4a2e
config_hash: b4bea15093f9a57475d1d98f9b8464ca
configured_endpoints: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc/whopsdk-0a517e45a4fc088cd08c97348a2a4dd104ad6f7e92297505956afc090c7efbfd.yml
openapi_spec_hash: e49941937737b1187930f3c6f15ed019
config_hash: 64788a41b95ec090d1222da96d7c46d4
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## 0.0.40 (2026-05-14)

Full Changelog: [v0.0.39...v0.0.40](https://github.com/whopio/whopsdk-ruby/compare/v0.0.39...v0.0.40)

### Features

* **api:** api update ([01e2807](https://github.com/whopio/whopsdk-ruby/commit/01e280751db982b57caf6f5a2680e8c90794d7e9))
* **api:** api update ([17f52fd](https://github.com/whopio/whopsdk-ruby/commit/17f52fd0387171da97b95863aab0b4b8d8317582))
* **api:** api update ([f33cc27](https://github.com/whopio/whopsdk-ruby/commit/f33cc274bcafde974363056d01e173ba1683c148))
* **api:** api update ([8a9fd84](https://github.com/whopio/whopsdk-ruby/commit/8a9fd847c18e05624163f60ef03859be96fa37dd))
* **api:** api update ([5fb10c2](https://github.com/whopio/whopsdk-ruby/commit/5fb10c2bbac60a7ef75354b728ff0c6583b7e368))
* **api:** api update ([10ff857](https://github.com/whopio/whopsdk-ruby/commit/10ff857ddd44449e11db19e0730d6a3528aadb85))
* **api:** api update ([e100fc6](https://github.com/whopio/whopsdk-ruby/commit/e100fc67294d6df883c15f689f6c58ddb923550f))
* **api:** api update ([620a58a](https://github.com/whopio/whopsdk-ruby/commit/620a58a463b106b2ab77bab3f72a4c80487c08c9))
* **api:** manual updates ([a8e3f04](https://github.com/whopio/whopsdk-ruby/commit/a8e3f044db8f1e61a3aaea022f59d1a306625e96))


### Bug Fixes

* **client:** elide content type header on requests without body ([4c828b8](https://github.com/whopio/whopsdk-ruby/commit/4c828b829520916acc83bc207e99d9e3df2ab7f1))

## 0.0.39 (2026-05-12)

Full Changelog: [v0.0.38...v0.0.39](https://github.com/whopio/whopsdk-ruby/compare/v0.0.38...v0.0.39)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
whop_sdk (0.0.39)
whop_sdk (0.0.40)
cgi
connection_pool
standardwebhooks
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "whop_sdk", "~> 0.0.39"
gem "whop_sdk", "~> 0.0.40"
```

<!-- x-release-please-end -->
Expand Down
22 changes: 15 additions & 7 deletions lib/whop_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,30 +60,34 @@
require_relative "whop_sdk/models/access_token_create_response"
require_relative "whop_sdk/models/account_link_create_params"
require_relative "whop_sdk/models/account_link_create_response"
require_relative "whop_sdk/models/ad"
require_relative "whop_sdk/models/ad_budget_type"
require_relative "whop_sdk/models/ad_campaign"
require_relative "whop_sdk/models/ad_campaign_list_params"
require_relative "whop_sdk/models/ad_campaign_list_response"
require_relative "whop_sdk/models/ad_campaign_pause_params"
require_relative "whop_sdk/models/ad_campaign_pause_response"
require_relative "whop_sdk/models/ad_campaign_platform"
require_relative "whop_sdk/models/ad_campaign_retrieve_params"
require_relative "whop_sdk/models/ad_campaign_retrieve_response"
require_relative "whop_sdk/models/ad_campaign_status"
require_relative "whop_sdk/models/ad_campaign_unpause_params"
require_relative "whop_sdk/models/ad_campaign_unpause_response"
require_relative "whop_sdk/models/ad_campaign_update_params"
require_relative "whop_sdk/models/ad_campaign_update_response"
require_relative "whop_sdk/models/ad_group"
require_relative "whop_sdk/models/ad_group_delete_params"
require_relative "whop_sdk/models/ad_group_delete_response"
require_relative "whop_sdk/models/ad_group_list_params"
require_relative "whop_sdk/models/ad_group_list_response"
require_relative "whop_sdk/models/ad_group_pause_params"
require_relative "whop_sdk/models/ad_group_retrieve_params"
require_relative "whop_sdk/models/ad_group_retrieve_response"
require_relative "whop_sdk/models/ad_group_status"
require_relative "whop_sdk/models/ad_group_unpause_params"
require_relative "whop_sdk/models/ad_group_update_params"
require_relative "whop_sdk/models/ad_group_update_response"
require_relative "whop_sdk/models/ad_list_params"
require_relative "whop_sdk/models/ad_list_response"
require_relative "whop_sdk/models/ad_pause_params"
require_relative "whop_sdk/models/ad_report_retrieve_params"
require_relative "whop_sdk/models/ad_report_retrieve_response"
require_relative "whop_sdk/models/ad_retrieve_params"
require_relative "whop_sdk/models/ad_retrieve_response"
require_relative "whop_sdk/models/ad_unpause_params"
require_relative "whop_sdk/models/affiliate"
require_relative "whop_sdk/models/affiliate_archive_params"
require_relative "whop_sdk/models/affiliate_archive_response"
Expand Down Expand Up @@ -283,6 +287,7 @@
require_relative "whop_sdk/models/experience_list_response"
require_relative "whop_sdk/models/experience_retrieve_params"
require_relative "whop_sdk/models/experience_update_params"
require_relative "whop_sdk/models/external_ad_status"
require_relative "whop_sdk/models/fee_markup_create_params"
require_relative "whop_sdk/models/fee_markup_create_response"
require_relative "whop_sdk/models/fee_markup_delete_params"
Expand All @@ -294,6 +299,7 @@
require_relative "whop_sdk/models/file_create_response"
require_relative "whop_sdk/models/file_retrieve_params"
require_relative "whop_sdk/models/file_retrieve_response"
require_relative "whop_sdk/models/file_visibility"
require_relative "whop_sdk/models/forum"
require_relative "whop_sdk/models/forum_list_params"
require_relative "whop_sdk/models/forum_list_response"
Expand All @@ -308,6 +314,7 @@
require_relative "whop_sdk/models/forum_update_params"
require_relative "whop_sdk/models/friendly_receipt_status"
require_relative "whop_sdk/models/global_affiliate_status"
require_relative "whop_sdk/models/granularities"
require_relative "whop_sdk/models/invoice"
require_relative "whop_sdk/models/invoice_created_webhook_event"
require_relative "whop_sdk/models/invoice_create_params"
Expand Down Expand Up @@ -460,6 +467,7 @@
require_relative "whop_sdk/models/resolution_center_case_retrieve_response"
require_relative "whop_sdk/models/resolution_center_case_status"
require_relative "whop_sdk/models/resolution_center_case_updated_webhook_event"
require_relative "whop_sdk/models/result_label_keys"
require_relative "whop_sdk/models/review_list_params"
require_relative "whop_sdk/models/review_list_response"
require_relative "whop_sdk/models/review_retrieve_params"
Expand Down
2 changes: 2 additions & 0 deletions lib/whop_sdk/internal/transport/base_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ def initialize(
WhopSDK::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
end

headers.delete("content-type") if body.nil?

url = WhopSDK::Internal::Util.join_parsed_uri(
@base_url_components,
{**req, path: path, query: query}
Expand Down
30 changes: 30 additions & 0 deletions lib/whop_sdk/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,30 +47,52 @@ module WhopSDK

AccountLinkCreateParams = WhopSDK::Models::AccountLinkCreateParams

Ad = WhopSDK::Models::Ad

AdBudgetType = WhopSDK::Models::AdBudgetType

AdCampaign = WhopSDK::Models::AdCampaign

AdCampaignListParams = WhopSDK::Models::AdCampaignListParams

AdCampaignPauseParams = WhopSDK::Models::AdCampaignPauseParams

AdCampaignPlatform = WhopSDK::Models::AdCampaignPlatform

AdCampaignRetrieveParams = WhopSDK::Models::AdCampaignRetrieveParams

AdCampaignStatus = WhopSDK::Models::AdCampaignStatus

AdCampaignUnpauseParams = WhopSDK::Models::AdCampaignUnpauseParams

AdCampaignUpdateParams = WhopSDK::Models::AdCampaignUpdateParams

AdGroup = WhopSDK::Models::AdGroup

AdGroupDeleteParams = WhopSDK::Models::AdGroupDeleteParams

AdGroupListParams = WhopSDK::Models::AdGroupListParams

AdGroupPauseParams = WhopSDK::Models::AdGroupPauseParams

AdGroupRetrieveParams = WhopSDK::Models::AdGroupRetrieveParams

AdGroupStatus = WhopSDK::Models::AdGroupStatus

AdGroupUnpauseParams = WhopSDK::Models::AdGroupUnpauseParams

AdGroupUpdateParams = WhopSDK::Models::AdGroupUpdateParams

AdListParams = WhopSDK::Models::AdListParams

AdPauseParams = WhopSDK::Models::AdPauseParams

AdReportRetrieveParams = WhopSDK::Models::AdReportRetrieveParams

AdRetrieveParams = WhopSDK::Models::AdRetrieveParams

AdUnpauseParams = WhopSDK::Models::AdUnpauseParams

Affiliate = WhopSDK::Models::Affiliate

AffiliateArchiveParams = WhopSDK::Models::AffiliateArchiveParams
Expand Down Expand Up @@ -362,6 +384,8 @@ module WhopSDK

ExperienceUpdateParams = WhopSDK::Models::ExperienceUpdateParams

ExternalAdStatus = WhopSDK::Models::ExternalAdStatus

FeeMarkupCreateParams = WhopSDK::Models::FeeMarkupCreateParams

FeeMarkupDeleteParams = WhopSDK::Models::FeeMarkupDeleteParams
Expand All @@ -374,6 +398,8 @@ module WhopSDK

FileRetrieveParams = WhopSDK::Models::FileRetrieveParams

FileVisibility = WhopSDK::Models::FileVisibility

Forum = WhopSDK::Models::Forum

ForumListParams = WhopSDK::Models::ForumListParams
Expand All @@ -398,6 +424,8 @@ module WhopSDK

GlobalAffiliateStatus = WhopSDK::Models::GlobalAffiliateStatus

Granularities = WhopSDK::Models::Granularities

Invoice = WhopSDK::Models::Invoice

InvoiceCreatedWebhookEvent = WhopSDK::Models::InvoiceCreatedWebhookEvent
Expand Down Expand Up @@ -643,6 +671,8 @@ module WhopSDK

ResolutionCenterCaseUpdatedWebhookEvent = WhopSDK::Models::ResolutionCenterCaseUpdatedWebhookEvent

ResultLabelKeys = WhopSDK::Models::ResultLabelKeys

ReviewListParams = WhopSDK::Models::ReviewListParams

ReviewRetrieveParams = WhopSDK::Models::ReviewRetrieveParams
Expand Down
Loading