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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26dc5c181f0fd368358f57c021d872f889e28857e2e67db7eb9e01fb494ac651
4
- data.tar.gz: 3e4923d6564629912edc2310f5422f0cea62d84a50d006fce5153738752a242d
3
+ metadata.gz: 53bb6f8aa2156326dd29785db0ef32d506e0e2a5e866232e99e27f0a256f1fad
4
+ data.tar.gz: d666eeeb41aea6e840140aa5779efc7a7bd9762c67113db1797a98903dc60ea5
5
5
  SHA512:
6
- metadata.gz: 722de732ae96e7da6ec0c1e9d189bc223bfddd710076ae23bd241d7156db216cd1905e3d6132b97da018374e8ebf04199f718adf6006bd65f9dfe90ca560ee6c
7
- data.tar.gz: 7aa35fbfa6868db854595634165608eb192d8afadcc44fb62b4e3e25818c002e7b4dbc194f8e3366b1247d850d2529622c59fd1f15d227697eea0f849e85465c
6
+ metadata.gz: 3142123e1c1d69b700b7fdda8336b4d50ff8462e69cf00bc4b2956d6ed5332d819c4f7ead412d9e1d86a2d3792a4eaaecce37ac5ea1d45afa8edf909732c7db2
7
+ data.tar.gz: d65164da9da97ea1b533b6d36defdb1623eeacf60edc0f8cf629d6ef6b56cc3e4cb04a68e1a16e9b533736ac0dd85ef3788938b0bab7d2f98695ec43a3225445
@@ -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
  # --------------------------------------------
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
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.11
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: 2019-12-12 00:00:00.000000000 Z
11
+ date: 2020-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable