aigifmaker 0.1.0 → 0.1.1
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/aigifmaker/version.rb +1 -1
- data/lib/aigifmaker.rb +1 -1
- 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: 382571dbd577560d115c969f90be4a87cbbfc943afcf2a79edff77f84043ebea
|
|
4
|
+
data.tar.gz: a3d01c831ed52dbecc2f5643b8276842657eefd0547be954a8a281b09fd56695
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cd4c131a8b577da60abc6b539539b857926f09a9410c6030d857d82196a58853033bdcf96db1df789ebc1cf0e1d6d01d1a7006601a29a632bde8ffa17757bba
|
|
7
|
+
data.tar.gz: 5bc47f0ad36651f40f0dceb51985c91264ea312cae15c1a42b054e43439db33b6631b49f9d7993821f4b328fe9a39ac9ebcb99b900370fc24a620e4a2b9b5c44
|
data/README.md
CHANGED
|
@@ -34,7 +34,7 @@ puts Aigifmaker.credits # remaining credits, free to call
|
|
|
34
34
|
## Client
|
|
35
35
|
|
|
36
36
|
```ruby
|
|
37
|
-
gif = Aigifmaker::Client.new("sk-...", timeout:
|
|
37
|
+
gif = Aigifmaker::Client.new("sk-...", timeout: 900) # timeout in seconds, 15 minutes by default
|
|
38
38
|
url = gif.generate("a tiny dragon sneezing a puff of glitter")
|
|
39
39
|
```
|
|
40
40
|
|
data/lib/aigifmaker/version.rb
CHANGED
data/lib/aigifmaker.rb
CHANGED
|
@@ -16,7 +16,7 @@ module Aigifmaker
|
|
|
16
16
|
BASE_URL = "https://aigifmaker.ai".freeze
|
|
17
17
|
KEYS_URL = "https://aigifmaker.ai/settings/apikeys".freeze
|
|
18
18
|
PRICING_URL = "https://aigifmaker.ai/pricing".freeze
|
|
19
|
-
DEFAULT_TIMEOUT =
|
|
19
|
+
DEFAULT_TIMEOUT = 900
|
|
20
20
|
POLL_EVERY = 3
|
|
21
21
|
|
|
22
22
|
# Base of every error this gem raises. #code is the JSON code when there was one.
|