finicity-ruby 1.0.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/finicity/resources/account.rb +2 -2
- data/lib/finicity/resources/transaction.rb +2 -2
- data/lib/finicity/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8e7defd8ab645bb1fb17f2c88a32d2105748304
|
4
|
+
data.tar.gz: 6a87267ad74ed3915030f3b1a0a2720a35864122
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c29f17a42baf6458dd92439cf2746c05a58911479dffde8117c96899669e90f8ef6b31f5505ad0c7677f475b7b270d5b5efa731c4f1cc3172ebd87381ae1cf87
|
7
|
+
data.tar.gz: c449d1973282cccf708e281e2ddae1c93a33c902d3815c83ab1018201ee9a01928fcede9a7822711c3588c288163a228b83cf052812758732461dc0ec033f2cf
|
@@ -61,8 +61,8 @@ module Finicity
|
|
61
61
|
request(:get, endpoint)
|
62
62
|
end
|
63
63
|
|
64
|
-
def update_credentials(
|
65
|
-
endpoint = "/v1/customers/#{customer_id}/
|
64
|
+
def update_credentials(institution_login_id, credentials)
|
65
|
+
endpoint = "/v1/customers/#{customer_id}/institutionLogins/#{institution_login_id}"
|
66
66
|
body = { login_form: credentials }
|
67
67
|
|
68
68
|
request(:put, endpoint, body: body)
|
@@ -2,14 +2,14 @@ module Finicity
|
|
2
2
|
module Resources
|
3
3
|
class Transaction < Base
|
4
4
|
def list(from:, to:, params: {})
|
5
|
-
endpoint = "/
|
5
|
+
endpoint = "/v3/customers/#{customer_id}/transactions"
|
6
6
|
query = { from_date: from.to_time.to_i, to_date: to.to_time.to_i }.merge(params)
|
7
7
|
|
8
8
|
request(:get, endpoint, query: query)
|
9
9
|
end
|
10
10
|
|
11
11
|
def list_for_account(account_id, from:, to:, params: {})
|
12
|
-
endpoint = "/
|
12
|
+
endpoint = "/v3/customers/#{customer_id}/accounts/#{account_id}/transactions"
|
13
13
|
query = { from_date: from.to_time.to_i, to_date: to.to_time.to_i }.merge(params)
|
14
14
|
|
15
15
|
request(:get, endpoint, query: query)
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Azzurrio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
version: 2.0.0
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.6.12
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Ruby Client for Finicity Aggregation API
|