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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd78fcecab7120c6aa9078532ea076139d4ce683
4
- data.tar.gz: c0cd6b70eb620fb4d5c34508d9f6c1b5d65a727c
3
+ metadata.gz: f8e7defd8ab645bb1fb17f2c88a32d2105748304
4
+ data.tar.gz: 6a87267ad74ed3915030f3b1a0a2720a35864122
5
5
  SHA512:
6
- metadata.gz: 9d957eec20a9940fd75863c5ea58fc6a887cddf319828a275c4e9ef4ecce9d62da8456122ec25b5f166c7b8073cf28c48686648c29b5d402a46d5260ea1e730a
7
- data.tar.gz: edf307e1c38db99bad3789811e99558422a48f88c9ab3c933e6a2061c0919a1f828315dfc6c1f5381d2f2061bdb199816938c055df4debda58209a6688054933
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(account_id, credentials)
65
- endpoint = "/v1/customers/#{customer_id}/accounts/#{account_id}/loginForm"
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 = "/v2/customers/#{customer_id}/transactions"
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 = "/v2/customers/#{customer_id}/accounts/#{account_id}/transactions"
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)
@@ -1,3 +1,3 @@
1
1
  module Finicity
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.2.0".freeze
3
3
  end
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.1
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: 2016-11-24 00:00:00.000000000 Z
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.5.1
179
+ rubygems_version: 2.6.12
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Ruby Client for Finicity Aggregation API