fera-api 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fera/api/version.rb +1 -1
- data/lib/fera/api.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9efcac494fc05e6511996a41b748aa00edb1fed3534935dc28e2bb1a9b2af89
|
4
|
+
data.tar.gz: d4d1e227576311edc50fa0cc21087fc1cdf6f8fb5fd1c843dfd8bf455681fe0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f85c210b94b9e2463aedb8fde956a39554cce75f3b2a306f35be8bed471cb90fc732ba8b642e38f42577c0073e27c453661eb8ccccded04283ebdf13aeb4e7e7
|
7
|
+
data.tar.gz: 42708cfa646b44fc936ebf1195c48985fa700e8a9eaf397fa39944e00aaf1f7175b7b32fe567eae08314fcf57541ee841f13e59d2178f08d4f7fd8fac040aeac
|
data/Gemfile.lock
CHANGED
data/lib/fera/api/version.rb
CHANGED
data/lib/fera/api.rb
CHANGED
@@ -25,7 +25,7 @@ module Fera
|
|
25
25
|
previous_debug_mode = @debug_mode
|
26
26
|
|
27
27
|
api_url ||= 'https://api.fera.ai'
|
28
|
-
api_type ||= api_key.include?('
|
28
|
+
api_type ||= api_key.include?('pk_') ? 'public' : 'private'
|
29
29
|
Base.site = "#{ api_url.chomp('/') }/v3/#{ api_type }"
|
30
30
|
|
31
31
|
@debug_mode = debug_mode
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fera-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fera Commerce Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|