superthread 0.7.2 → 0.7.3
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 +3 -7
- data/lib/superthread/version.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: 4cf0f4679210af65b63f13141b5c432b8fa2999468842808a58ba2c71d15b7f1
|
|
4
|
+
data.tar.gz: 922afee485ffb459bb189fcedb92af8649e8422d52baf3230d19c47288cd63bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0e8b5023fd60313bcd7b82cbb650ef3520f11befe1bbef9bf7427feed115003ed3afe287d63c48d5939177a3d689850f9398a3bbf9cb534ac00b021db68f7b7
|
|
7
|
+
data.tar.gz: b9ceb55ed32d01d2f7010ff234427fbe527f54c749c27f1dc3b03bb17c24d6aed15c82cb010c6a848831c4d0977e232602c3a7c23950cbb8a201a24ab7318897
|
data/README.md
CHANGED
|
@@ -335,14 +335,10 @@ You can also use Superthread as a Ruby gem in your code:
|
|
|
335
335
|
```ruby
|
|
336
336
|
require "superthread"
|
|
337
337
|
|
|
338
|
-
#
|
|
339
|
-
Superthread.
|
|
340
|
-
config.api_key = "stp_xxxxxxxxxxxx"
|
|
341
|
-
end
|
|
338
|
+
# Pass your API key directly
|
|
339
|
+
client = Superthread::Client.new(api_key: "stp_xxxxxxxxxxxx")
|
|
342
340
|
|
|
343
|
-
# Or use env vars —
|
|
344
|
-
|
|
345
|
-
# Create a client
|
|
341
|
+
# Or use env vars — set SUPERTHREAD_API_KEY and it just works
|
|
346
342
|
client = Superthread::Client.new
|
|
347
343
|
|
|
348
344
|
# Users
|
data/lib/superthread/version.rb
CHANGED