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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 540f683db234bc8033e9431841393bb159adde19
4
- data.tar.gz: d93345cca9db9d40c24a7abfbf2b15a6a79ac485
3
+ metadata.gz: c331204bb683ecc3c0873e97bd4558e0842887b9
4
+ data.tar.gz: 5e8385fbec93b53f4c6150590b35752f2a9725f3
5
5
  SHA512:
6
- metadata.gz: 68939b3810367e0331b6a1d2a0c748d2fdd1d0c0fad07ba6e17925899b1cc8e7d44559f7e03ecf4f23d7fbb59b024d3e3bc2e30e268b3e9b336b2b9057e9872f
7
- data.tar.gz: a8d8674148c5fe92a4c7fc3d337ccaec9eea3d90d0683c2f7cad8394b5132db11f415061c3b7b7eea3052064996964488b9915d451a78a758728652079b93c5b
6
+ metadata.gz: 2ea5b1801eea313d0fff586c8eaf1efb14f2a8fef6df2770ff1679e1ead823df958c2f75c4641ea8f29cdddc9c4be3c5c4cb7c4f24d32d0376e0e980d6d0c02d
7
+ data.tar.gz: f06ec0ad6361cf463b895f15d1c4c9b5705eab352c93bc917905d9321580f41050f377c0cc4b89dbbd374f92f4bb1487ad00102b90ab89e5e1c4fd7f21dda044
@@ -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'
@@ -1,5 +1,5 @@
1
1
  module Panoptes
2
2
  class Client
3
- VERSION = "0.3.1".freeze
3
+ VERSION = "0.3.2".freeze
4
4
  end
5
5
  end
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.1
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-13 00:00:00.000000000 Z
11
+ date: 2017-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday