whop_sdk 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 384f78bfdd29282dec0695c7d4a64ae180fefff482e40dd86e4988806e1ac903
4
- data.tar.gz: c2951d3aabc53be6b74a39bfd06d7b404f7d7fdc9ef208ec175057de2f623ba7
3
+ metadata.gz: 9132bb35367050c85a05e944a68ec2aa01f3f900c0225cd64f85ca6c70023c8c
4
+ data.tar.gz: 1f54593bfa4ba0e37094d0080fb543b0ede77adeebea2b089777e3e230182959
5
5
  SHA512:
6
- metadata.gz: 1e9a12bcb1769883fb79f3d7951b29a042c5231dd14d072ab765cc7dd90861ecdada74d7e4e2a7e48820c2d504346dcc80e1e3ba7da7b72ead0e9fa927f56dac
7
- data.tar.gz: f590db1710e20be8431108918d0fce8b210dd8d22a9644a5a90aa3ddaf870c82efd4b05588aaff8d9b5920f6eb99efdccd1948c37138d5d79c4168fc958f0440
6
+ metadata.gz: 906011e15b01f70b5eabd7c5f56adf8b9402326441e3a7914e63d6a4319a21e89909ef6ee5f3d1816b73e576049fd31dbaaf7267614128ba28ce4442f3f930b2
7
+ data.tar.gz: 9e3d565591c5a88ce1cdf1fc14be8b953d8dae39ca43af6da22e19b03c1017e8c608a869bd1739823f4ab745bfd51c1e9ac6bbec2cbc4a059bc63c023d85c45e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.0.17 (2025-12-10)
4
+
5
+ Full Changelog: [v0.0.16...v0.0.17](https://github.com/whopio/whopsdk-ruby/compare/v0.0.16...v0.0.17)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([fea2443](https://github.com/whopio/whopsdk-ruby/commit/fea2443b0ebacba1a197811a90283ad5803d0c00))
10
+
3
11
  ## 0.0.16 (2025-12-10)
4
12
 
5
13
  Full Changelog: [v0.0.15...v0.0.16](https://github.com/whopio/whopsdk-ruby/compare/v0.0.15...v0.0.16)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "whop_sdk", "~> 0.0.16"
20
+ gem "whop_sdk", "~> 0.0.17"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -240,17 +240,25 @@ module WhopSDK
240
240
  # @return [Integer, nil]
241
241
  required :duration_seconds, Integer, nil?: true
242
242
 
243
+ # @!attribute signed_playback_id
244
+ # The signed playback ID of the Mux asset
245
+ #
246
+ # @return [String, nil]
247
+ required :signed_playback_id, String, nil?: true
248
+
243
249
  # @!attribute signed_thumbnail_playback_token
244
250
  # The signed thumbnail playback token of the Mux asset
245
251
  #
246
252
  # @return [String, nil]
247
253
  required :signed_thumbnail_playback_token, String, nil?: true
248
254
 
249
- # @!method initialize(duration_seconds:, signed_thumbnail_playback_token:)
255
+ # @!method initialize(duration_seconds:, signed_playback_id:, signed_thumbnail_playback_token:)
250
256
  # The associated Mux asset for video lessons
251
257
  #
252
258
  # @param duration_seconds [Integer, nil] The duration of the video in seconds
253
259
  #
260
+ # @param signed_playback_id [String, nil] The signed playback ID of the Mux asset
261
+ #
254
262
  # @param signed_thumbnail_playback_token [String, nil] The signed thumbnail playback token of the Mux asset
255
263
  end
256
264
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WhopSDK
4
- VERSION = "0.0.16"
4
+ VERSION = "0.0.17"
5
5
  end
@@ -345,6 +345,10 @@ module WhopSDK
345
345
  sig { returns(T.nilable(Integer)) }
346
346
  attr_accessor :duration_seconds
347
347
 
348
+ # The signed playback ID of the Mux asset
349
+ sig { returns(T.nilable(String)) }
350
+ attr_accessor :signed_playback_id
351
+
348
352
  # The signed thumbnail playback token of the Mux asset
349
353
  sig { returns(T.nilable(String)) }
350
354
  attr_accessor :signed_thumbnail_playback_token
@@ -353,12 +357,15 @@ module WhopSDK
353
357
  sig do
354
358
  params(
355
359
  duration_seconds: T.nilable(Integer),
360
+ signed_playback_id: T.nilable(String),
356
361
  signed_thumbnail_playback_token: T.nilable(String)
357
362
  ).returns(T.attached_class)
358
363
  end
359
364
  def self.new(
360
365
  # The duration of the video in seconds
361
366
  duration_seconds:,
367
+ # The signed playback ID of the Mux asset
368
+ signed_playback_id:,
362
369
  # The signed thumbnail playback token of the Mux asset
363
370
  signed_thumbnail_playback_token:
364
371
  )
@@ -368,6 +375,7 @@ module WhopSDK
368
375
  override.returns(
369
376
  {
370
377
  duration_seconds: T.nilable(Integer),
378
+ signed_playback_id: T.nilable(String),
371
379
  signed_thumbnail_playback_token: T.nilable(String)
372
380
  }
373
381
  )
@@ -166,21 +166,26 @@ module WhopSDK
166
166
  type video_asset =
167
167
  {
168
168
  duration_seconds: Integer?,
169
+ signed_playback_id: String?,
169
170
  signed_thumbnail_playback_token: String?
170
171
  }
171
172
 
172
173
  class VideoAsset < WhopSDK::Internal::Type::BaseModel
173
174
  attr_accessor duration_seconds: Integer?
174
175
 
176
+ attr_accessor signed_playback_id: String?
177
+
175
178
  attr_accessor signed_thumbnail_playback_token: String?
176
179
 
177
180
  def initialize: (
178
181
  duration_seconds: Integer?,
182
+ signed_playback_id: String?,
179
183
  signed_thumbnail_playback_token: String?
180
184
  ) -> void
181
185
 
182
186
  def to_hash: -> {
183
187
  duration_seconds: Integer?,
188
+ signed_playback_id: String?,
184
189
  signed_thumbnail_playback_token: String?
185
190
  }
186
191
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whop_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Whop