finicity-ruby 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/finicity/configurable.rb +6 -1
- data/lib/finicity/fetchers/token.rb +1 -1
- data/lib/finicity/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: dd78fcecab7120c6aa9078532ea076139d4ce683
|
4
|
+
data.tar.gz: c0cd6b70eb620fb4d5c34508d9f6c1b5d65a727c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d957eec20a9940fd75863c5ea58fc6a887cddf319828a275c4e9ef4ecce9d62da8456122ec25b5f166c7b8073cf28c48686648c29b5d402a46d5260ea1e730a
|
7
|
+
data.tar.gz: edf307e1c38db99bad3789811e99558422a48f88c9ab3c933e6a2061c0919a1f828315dfc6c1f5381d2f2061bdb199816938c055df4debda58209a6688054933
|
@@ -2,10 +2,15 @@ require "hashie"
|
|
2
2
|
|
3
3
|
module Finicity
|
4
4
|
module Configurable
|
5
|
-
KEYS = [:redis_url, :app_key, :partner_id, :partner_secret, :max_retries, :app_type, :verbose].freeze
|
5
|
+
KEYS = [:redis_url, :redis, :app_key, :partner_id, :partner_secret, :max_retries, :app_type, :verbose].freeze
|
6
6
|
|
7
7
|
attr_writer(*KEYS)
|
8
8
|
|
9
|
+
def redis_url=(url)
|
10
|
+
@redis_url = url
|
11
|
+
@redis = Redis.new(url: url)
|
12
|
+
end
|
13
|
+
|
9
14
|
def configure
|
10
15
|
yield self
|
11
16
|
self
|
data/lib/finicity/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finicity-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Azzurrio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|