runapi-infinitetalk 0.2.7 → 0.2.8
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/README.md +1 -1
- data/lib/runapi/infinitetalk/resources/audio_to_video.rb +7 -7
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2762602bf52d1460b53903c342ecf66359040bf1c572fcf7c0cac4a4addcad70
|
|
4
|
+
data.tar.gz: 58acafc24918c386aead41480af5834ad4963079054a32f2b17101b3da623af6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e547082c34b9978a3cf8a46aceda758a44237c3a7f857fb0557334d9c3be6643313e8e2520f05649f3878a39f76bf17e14ead26bf6ae6f92b57bec3d1b538738
|
|
7
|
+
data.tar.gz: bfecc0081c590786e5e0c16c3e78902d51bce3f977eced48ce8dc670c6e46899c6a16d180edb14658333f89f9530f71c05665a4828f3be58a7d61be1bf1a0b54
|
data/README.md
CHANGED
|
@@ -18,19 +18,19 @@ module RunApi
|
|
|
18
18
|
@http = http
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
def run(**params)
|
|
22
|
-
task = create(**params)
|
|
23
|
-
poll_until_complete { get(task.id) }
|
|
21
|
+
def run(options: nil, **params)
|
|
22
|
+
task = create(options: options, **params)
|
|
23
|
+
poll_until_complete { get(task.id, options: options) }
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
def create(**params)
|
|
26
|
+
def create(options: nil, **params)
|
|
27
27
|
params = compact_params(params)
|
|
28
28
|
validate_params!(params)
|
|
29
|
-
request(:post, ENDPOINT, body: params)
|
|
29
|
+
request(:post, ENDPOINT, body: params, options: options)
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
def get(id)
|
|
33
|
-
request(:get, "#{ENDPOINT}/#{id}")
|
|
32
|
+
def get(id, options: nil)
|
|
33
|
+
request(:get, "#{ENDPOINT}/#{id}", options: options)
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
private
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runapi-infinitetalk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- RunAPI
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.3.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.3.0
|
|
26
26
|
description: The InfiniteTalk Ruby SDK is the language-specific package for InfiniteTalk
|
|
27
27
|
on RunAPI. Use this package for video generation, animation, and video editing workflows
|
|
28
28
|
when your application needs request bodies, task status lookup, and consistent RunAPI
|
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
67
|
version: '0'
|
|
68
68
|
requirements: []
|
|
69
|
-
rubygems_version: 4.0.
|
|
69
|
+
rubygems_version: 4.0.17
|
|
70
70
|
specification_version: 4
|
|
71
71
|
summary: InfiniteTalk Ruby SDK for RunAPI
|
|
72
72
|
test_files: []
|