sila-ruby 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sila-ruby/banks.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: 53bb6f8aa2156326dd29785db0ef32d506e0e2a5e866232e99e27f0a256f1fad
|
4
|
+
data.tar.gz: d666eeeb41aea6e840140aa5779efc7a7bd9762c67113db1797a98903dc60ea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3142123e1c1d69b700b7fdda8336b4d50ff8462e69cf00bc4b2956d6ed5332d819c4f7ead412d9e1d86a2d3792a4eaaecce37ac5ea1d45afa8edf909732c7db2
|
7
|
+
data.tar.gz: d65164da9da97ea1b533b6d36defdb1623eeacf60edc0f8cf629d6ef6b56cc3e4cb04a68e1a16e9b533736ac0dd85ef3788938b0bab7d2f98695ec43a3225445
|
data/lib/sila-ruby/banks.rb
CHANGED
@@ -42,6 +42,23 @@ module SilaRuby
|
|
42
42
|
sila_post_signed('get_accounts', header, message, nil, user_key)
|
43
43
|
end
|
44
44
|
|
45
|
+
# --------------------------------------------
|
46
|
+
# GET-ACCOUNTS-BALANCE -----------------------
|
47
|
+
# --------------------------------------------
|
48
|
+
# Gets basic bank account names linked to user handle
|
49
|
+
def self.get_account_balance(handle, params={}, user_key)
|
50
|
+
header = { user_handle: handle }
|
51
|
+
message = 'header_msg'
|
52
|
+
|
53
|
+
# Example of params passed
|
54
|
+
#
|
55
|
+
# params = {
|
56
|
+
# account_name: "Custom Account Name",
|
57
|
+
# }
|
58
|
+
|
59
|
+
sila_post_signed('get_account_balance', header, message, params, user_key)
|
60
|
+
end
|
61
|
+
|
45
62
|
# --------------------------------------------
|
46
63
|
# PLAID-SAMEDAY-AUTH -------------------------
|
47
64
|
# --------------------------------------------
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vertbase
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|