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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/finnegans/client.rb +2 -1
- data/lib/finnegans/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: 4820faba9dfacea13fecf1ee7ba5acc2c25d235f
|
4
|
+
data.tar.gz: 2c3577e1c3509d3328a2427ff0056b40ed0e5b45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e49156dcec7298344398450afa1e33a8e531d3e72e45b1f19bab917c5d8a98a7b88ead9610dc483c50023ed9f42f2680c5e30772d6938fafc90760ba3affdd70
|
7
|
+
data.tar.gz: e55ce2d242b5654d380f2850323ddb2b6f7ced9f07eac1264b120bad4a1a4ba527ae0c401c01692bd17c0640a291a3cc99e7e60a6b7b3e6d01c693e8300fcc9d
|
data/Gemfile.lock
CHANGED
data/lib/finnegans/client.rb
CHANGED
@@ -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
|
data/lib/finnegans/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|