finnegans 0.1.1 → 0.1.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: e5822b4089facfcb96967504f78ffa50c095b575
4
- data.tar.gz: 54430c1d1858d6207335559fcd1a216d5916a3bd
3
+ metadata.gz: 4820faba9dfacea13fecf1ee7ba5acc2c25d235f
4
+ data.tar.gz: 2c3577e1c3509d3328a2427ff0056b40ed0e5b45
5
5
  SHA512:
6
- metadata.gz: 0bbf3babbe4790152171aa020ac5a8585e5546bad5bfc82fbe03dd3732215784cf23eaf07a719a0a7ced804a683ae28afc49b59d8f4c63d12d0a5a98c8912346
7
- data.tar.gz: 149f0444c945a9d3f370aef13fe2ead41b59b70e4cf9d0c96b3692461d6ee937bfc67c64dd6d67bf8554f1ae8304c91c1933781ad2de5cdf3b8c5164d50085be
6
+ metadata.gz: e49156dcec7298344398450afa1e33a8e531d3e72e45b1f19bab917c5d8a98a7b88ead9610dc483c50023ed9f42f2680c5e30772d6938fafc90760ba3affdd70
7
+ data.tar.gz: e55ce2d242b5654d380f2850323ddb2b6f7ced9f07eac1264b120bad4a1a4ba527ae0c401c01692bd17c0640a291a3cc99e7e60a6b7b3e6d01c693e8300fcc9d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- finnegans (0.1.1)
4
+ finnegans (0.1.2)
5
5
  oj (~> 3.0)
6
6
  typhoeus (>= 1.0)
7
7
 
@@ -8,10 +8,11 @@ module Finnegans
8
8
 
9
9
  attr_reader :client_id, :base_url, :api_catalog_path, :namespace
10
10
 
11
- def initialize(client_id:, client_secret:, base_url:, api_catalog_path: 'apicatalog', namespace: Finnegans.resources_namespace)
11
+ def initialize(client_id:, client_secret:, base_url:, access_token: nil, api_catalog_path: 'apicatalog', namespace: Finnegans.resources_namespace)
12
12
  @client_id = client_id.to_s
13
13
  @client_secret = client_secret.to_s
14
14
  @base_url = base_url.to_s.gsub(/\/+$/, '')
15
+ @access_token = access_token
15
16
  @api_catalog_path = api_catalog_path
16
17
 
17
18
  namespace = namespace.to_s
@@ -1,3 +1,3 @@
1
1
  module Finnegans
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finnegans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Cavilliotti
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-15 00:00:00.000000000 Z
11
+ date: 2018-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry