sila-ruby 0.0.24 → 0.0.26

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
  SHA256:
3
- metadata.gz: ce74a06563092d69e22ea8acff4125da0efa001c37e921b55d10c7383d1d87e6
4
- data.tar.gz: bd0d4e68ec80da821f07231acf099cc20e6edfbe8dd5b44ed1f7875de92bd4cd
3
+ metadata.gz: 1371ae18fe91732a8845d1d6a53dbef18993c584c7519395f67d4325c83efd8d
4
+ data.tar.gz: 7c5edcfcb66894f785b37e6c9f73592f16a7b6e9436b1bd937a23a9434e5f35f
5
5
  SHA512:
6
- metadata.gz: 67b93a9aa57e1cb1e374d3eedb29eb8f574047a0f6ea3d30512b29545325b6d8aa6511974c7453e0502885b4ff4ecaa52cb200f84f9cb48c259f8799f83bf987
7
- data.tar.gz: c216f2459b49df64fe5b63b0f0fcb2e20c17dd76bd659549b3ce79db8ccc30f06cec04efc45bcaec71b06f0b54c0edf19c695f277e0d81d7bd2fc909ce77f13d
6
+ metadata.gz: e69493964573637384ba36660235b65c52f2f79703bd548d1b9c750f6198a05b7bf8157c740a6060e4095e1a2ae6450a08aa404ee02030c170de46dd0525e940
7
+ data.tar.gz: b59eeec5f5acf9745008cd9fda8875e4e99266ab2327d3ae181df218725be7be766ea5f6a4ac07e3540706f52f700568c41e88fdc28675a8d5888927983ee22b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sila-ruby (0.0.23)
4
+ sila-ruby (0.0.25)
5
5
  addressable (~> 2.6)
6
6
  dotenv (~> 2.7)
7
7
  eth
@@ -11,7 +11,7 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- addressable (2.7.0)
14
+ addressable (2.8.0)
15
15
  public_suffix (>= 2.0.2, < 5.0)
16
16
  ansi (1.5.0)
17
17
  diff-lcs (1.3)
@@ -28,13 +28,13 @@ GEM
28
28
  ffi-compiler (1.0.1)
29
29
  ffi (>= 1.0.0)
30
30
  rake
31
- httparty (0.18.1)
31
+ httparty (0.19.0)
32
32
  mime-types (~> 3.0)
33
33
  multi_xml (>= 0.5.2)
34
34
  json (2.3.0)
35
35
  mime-types (3.3.1)
36
36
  mime-types-data (~> 3.2015)
37
- mime-types-data (3.2021.0225)
37
+ mime-types-data (3.2021.0901)
38
38
  money-tree (0.10.0)
39
39
  ffi
40
40
  multi_xml (0.6.0)
@@ -76,5 +76,22 @@ module SilaRuby
76
76
  sila_post_signed('plaid_sameday_auth', header, message, params, user_key, nil)
77
77
  end
78
78
 
79
+ # --------------------------------------------
80
+ # UPDATE-LINK-TOKEN --------------------------
81
+ # --------------------------------------------
82
+ # Get a link token for an existing linked bank account.
83
+ def self.update_link_token(handle, params={}, user_key)
84
+ header = { user_handle: handle }
85
+ message = 'header_msg'
86
+
87
+ # Example of params passed
88
+ #
89
+ # params = {
90
+ # account_name: "Custom Account Name",
91
+ # }
92
+
93
+ sila_post_signed('plaid_update_link_token', header, message, params, user_key, nil)
94
+ end
95
+
79
96
  end
80
97
  end
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.24'
2
+ VERSION = '0.0.26'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sila-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sequoir
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-07 00:00:00.000000000 Z
11
+ date: 2023-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable