panoptes-client 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/panoptes/client.rb +3 -3
- data/lib/panoptes/client/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: c331204bb683ecc3c0873e97bd4558e0842887b9
|
4
|
+
data.tar.gz: 5e8385fbec93b53f4c6150590b35752f2a9725f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ea5b1801eea313d0fff586c8eaf1efb14f2a8fef6df2770ff1679e1ead823df958c2f75c4641ea8f29cdddc9c4be3c5c4cb7c4f24d32d0376e0e980d6d0c02d
|
7
|
+
data.tar.gz: f06ec0ad6361cf463b895f15d1c4c9b5705eab352c93bc917905d9321580f41050f377c0cc4b89dbbd374f92f4bb1487ad00102b90ab89e5e1c4fd7f21dda044
|
data/lib/panoptes/client.rb
CHANGED
@@ -42,15 +42,15 @@ module Panoptes
|
|
42
42
|
|
43
43
|
attr_reader :env, :auth, :panoptes, :talk, :cellect
|
44
44
|
|
45
|
-
def initialize(env: :production, auth: {}, public_key_path: nil)
|
45
|
+
def initialize(env: :production, auth: {}, public_key_path: nil, params: {})
|
46
46
|
@env = env
|
47
47
|
@auth = auth
|
48
48
|
@public_key_path = public_key_path || public_key_for_env(env)
|
49
49
|
@panoptes = Panoptes::Endpoints::JsonApiEndpoint.new(
|
50
|
-
auth: auth, url: panoptes_url, prefix: '/api'
|
50
|
+
auth: auth, url: panoptes_url, prefix: '/api', params: params
|
51
51
|
)
|
52
52
|
@talk = Panoptes::Endpoints::JsonApiEndpoint.new(
|
53
|
-
auth: auth, url: talk_url
|
53
|
+
auth: auth, url: talk_url, params: params
|
54
54
|
)
|
55
55
|
@cellect = Panoptes::Endpoints::JsonEndpoint.new(
|
56
56
|
url: panoptes_url, prefix: '/cellect'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panoptes-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marten Veldthuis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|