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 +4 -4
- data/Gemfile.lock +4 -4
- data/lib/sila-ruby/accounts.rb +17 -0
- data/lib/sila-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1371ae18fe91732a8845d1d6a53dbef18993c584c7519395f67d4325c83efd8d
|
4
|
+
data.tar.gz: 7c5edcfcb66894f785b37e6c9f73592f16a7b6e9436b1bd937a23a9434e5f35f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
37
|
+
mime-types-data (3.2021.0901)
|
38
38
|
money-tree (0.10.0)
|
39
39
|
ffi
|
40
40
|
multi_xml (0.6.0)
|
data/lib/sila-ruby/accounts.rb
CHANGED
@@ -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
|
data/lib/sila-ruby/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2023-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|