cohere-ruby 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/lib/cohere/client.rb +2 -0
- data/lib/cohere/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: 0c67041bcd2e0d7e0992bedc136a47406882b80f1ec4eb2b8ed9d0d359d27a67
|
4
|
+
data.tar.gz: d55d966852f0046ac1bb869200d37da08a7cccee46cf850259f38b8bd4e14b92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 492c6e18297271bdcd600842e9c1a42eac2660d59e794813875b2eb5b70e899f4a687812b7e470c218a123d2ce00cdbd720d690f0baf492bdefff0d50ee8320b
|
7
|
+
data.tar.gz: d955326483690a221dbfc8c2a1ddbf60b9a7731e34b2458f0b87acf4a932790d3f0d8f618ff9c71003c06e2cb5cf32d44915b824c3364a9229283223780f4a5d
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/lib/cohere/client.rb
CHANGED
@@ -126,6 +126,7 @@ module Cohere
|
|
126
126
|
|
127
127
|
private
|
128
128
|
|
129
|
+
# standard:disable Lint/DuplicateMethods
|
129
130
|
def connection
|
130
131
|
@connection ||= Faraday.new(url: ENDPOINT_URL) do |faraday|
|
131
132
|
if api_key
|
@@ -136,5 +137,6 @@ module Cohere
|
|
136
137
|
faraday.adapter Faraday.default_adapter
|
137
138
|
end
|
138
139
|
end
|
140
|
+
# standard:enable Lint/DuplicateMethods
|
139
141
|
end
|
140
142
|
end
|
data/lib/cohere/version.rb
CHANGED