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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/whop_sdk/models/course.rb +9 -1
- data/lib/whop_sdk/version.rb +1 -1
- data/rbi/whop_sdk/models/course.rbi +8 -0
- data/sig/whop_sdk/models/course.rbs +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9132bb35367050c85a05e944a68ec2aa01f3f900c0225cd64f85ca6c70023c8c
|
|
4
|
+
data.tar.gz: 1f54593bfa4ba0e37094d0080fb543b0ede77adeebea2b089777e3e230182959
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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
|
data/lib/whop_sdk/version.rb
CHANGED
|
@@ -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
|