elemeno 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/elemeno.rb +4 -1
- data/lib/elemeno/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69814eddaeea0b5bc28cc908148cfa689cdbc9d4
|
4
|
+
data.tar.gz: aecc1ef2554305726af2b6168d90f693e3c7b534
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d331b30e2a521614e9ac1caf114d51cf5ab069fde2c7c4c6cf3f0ddac4bafa4c1dc6dfe37d552a1442e80b754b84e1204413722830da7a6a97502a13edb841c
|
7
|
+
data.tar.gz: 4e1946ff6d1d3d317f8e4fbf8dd4e9d1db31bd1f064a5900284001e27c14eb337c04872b7cf26932b50c7bcdb11c58711ee1b45b36a2f9c86417e6f64e87d4bb
|
data/README.md
CHANGED
data/lib/elemeno.rb
CHANGED
@@ -9,7 +9,10 @@ module Elemeno
|
|
9
9
|
@@collectionBase = 'collections/'
|
10
10
|
|
11
11
|
def initialize(api_key)
|
12
|
-
@conn = Faraday.new
|
12
|
+
@conn = Faraday.new(:url => 'https://api.elemeno.io/v1/', :headers => {'Authorization' => api_key}) do |conn|
|
13
|
+
conn.use Faraday::Response::RaiseError
|
14
|
+
conn.use Faraday::Adapter::NetHttp
|
15
|
+
end
|
13
16
|
end
|
14
17
|
|
15
18
|
private def get(path, query = nil)
|
data/lib/elemeno/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elemeno
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Erwin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-12-
|
12
|
+
date: 2016-12-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|