sila-ruby 0.0.24 → 0.0.25

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: 41b5d378f386b50ff2021345073daa29b12fa917620bf26ee0fe5dbba5bb64c7
4
+ data.tar.gz: 11e91ee0056b430ed8f68cdc7680f5433853eb6bab6ee3544e35f71424eb2f86
5
5
  SHA512:
6
- metadata.gz: 67b93a9aa57e1cb1e374d3eedb29eb8f574047a0f6ea3d30512b29545325b6d8aa6511974c7453e0502885b4ff4ecaa52cb200f84f9cb48c259f8799f83bf987
7
- data.tar.gz: c216f2459b49df64fe5b63b0f0fcb2e20c17dd76bd659549b3ce79db8ccc30f06cec04efc45bcaec71b06f0b54c0edf19c695f277e0d81d7bd2fc909ce77f13d
6
+ metadata.gz: de3625ffcb4d997de7036a98f5bb118e823607bb96888fd982de46156dd9142a2e9c83f7f7368a6809e99585380a1d2e2c0a40a71f01baa9e614f61c8770f7fc
7
+ data.tar.gz: f6514c6cdd03cbf0bec5be9b57604dbed4f29a24ddd818674eec7051410942fc1df0621e823f0f8db179032ccb814e72a798268e0153332a4ea7a9beb3ca66eb
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.25'
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.25
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: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable