tito 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/lib/tito/base.rb +2 -1
- data/lib/tito/request_proxy.rb +2 -2
- data/lib/tito/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: 951e7497f3bb75bb4935545973a726aea1177571
|
4
|
+
data.tar.gz: 50397ffa8134c5c8c889a35a13e8051d35637122
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 527f25419a39e196d6d024c305618c81b8c671a90c0b2bb22d21ad1c6e908b7a5ca3801689ff02d649c9ef5f6be9020dd9e25649ae6a8ebf277ca1f70985766f
|
7
|
+
data.tar.gz: f574c42b120e03130c46f06088cec30014303d470d59bcce81256f87a9eb1807801b8acacf33cc469d009c2a12955437d10abd47cfec2ad0484dbe21467c1be1
|
data/lib/tito/base.rb
CHANGED
@@ -63,7 +63,8 @@ module Tito
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def self.get(path, params = {})
|
66
|
-
|
66
|
+
api_key = params.delete(:api_key)
|
67
|
+
new http(api_key: api_key).get(get_url(path), params: params, ssl_context: ssl_context).parse[resource_name]
|
67
68
|
end
|
68
69
|
|
69
70
|
def self.all_path(path_prefix: nil)
|
data/lib/tito/request_proxy.rb
CHANGED
data/lib/tito/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tito
|
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
|
- Paul Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|