sila-ruby 0.0.19 → 0.0.20
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/version.rb +1 -1
- data/lib/sila-ruby/wallets.rb +5 -2
- 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: dba94b7f304413f65447036b6efebed78af28e459e2f4de18bcd95a16a3a4e24
|
4
|
+
data.tar.gz: 8ac83f82944e4f8cc44cc2e4a8442a6f346025923250378fc756e81347dbb27f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af5d22b0f134fd41e5cc16f79b24be93697de99b3547b214d3eac1b1ad2b9118ee5d529097d677d33f7e344ff821bdd0e3c99f58f9f171ae099106fdfdb2a225
|
7
|
+
data.tar.gz: 63e83493f34543099c1ab697f58defa391e1fb5878a12ab27e2e4fafd2a1be2a6788c676aefc8130a925b69bf5eda400dcda9586f038525f5546e738aa6fc697
|
data/lib/sila-ruby/version.rb
CHANGED
data/lib/sila-ruby/wallets.rb
CHANGED
@@ -25,7 +25,9 @@ module SilaRuby
|
|
25
25
|
# Gets details about the user wallet used to generate the usersignature header.
|
26
26
|
def self.get_wallet(handle, user_key)
|
27
27
|
header = { user_handle: handle }
|
28
|
-
|
28
|
+
message = 'header_msg'
|
29
|
+
|
30
|
+
sila_post_signed('get_wallet', header, message, nil, user_key)
|
29
31
|
end
|
30
32
|
|
31
33
|
# --------------------------------------------
|
@@ -34,6 +36,7 @@ module SilaRuby
|
|
34
36
|
# Gets array of user handle's transactions with detailed status information.
|
35
37
|
def self.get_wallets(handle, params={}, user_key)
|
36
38
|
header = { user_handle: handle }
|
39
|
+
message = 'header_msg'
|
37
40
|
|
38
41
|
# Example of params passed
|
39
42
|
#
|
@@ -48,7 +51,7 @@ module SilaRuby
|
|
48
51
|
# }
|
49
52
|
# }
|
50
53
|
|
51
|
-
sila_post_signed('get_wallets', header,
|
54
|
+
sila_post_signed('get_wallets', header, message, params, user_key)
|
52
55
|
end
|
53
56
|
|
54
57
|
# --------------------------------------------
|
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.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sequoir
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|