sila-ruby 0.0.14 → 0.0.15
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/entities.rb +6 -3
- data/lib/sila-ruby/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ba48cf032603ab9b9d18435fb5311486b95b010ad700f47098f2805fb5e7edd
|
4
|
+
data.tar.gz: c1d75030329fdad7ad6363867ca8fe2164dad4ca7486f2c95255eaf85434e3b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0e49ee3d607d1116a559e0eebc3c080b942ade99ba3b7ceebc10931f16b2cc7d149c0e7f6696cfdb52eb364cd20a5f97866ecf5b164990e1935dc9390c05f98
|
7
|
+
data.tar.gz: e0f7bc67fa1a929577a9ee0bb1b6a0a25786461b76f2b14b283622f43b917f74dc03d58f1a78a970a091cdec51c9cbf7afb1024d3caddbe51085c9c0129b4d47
|
data/lib/sila-ruby/entities.rb
CHANGED
@@ -108,6 +108,7 @@ module SilaRuby
|
|
108
108
|
# Add a new email, phone number, street address, or identity to a registered entity.
|
109
109
|
def self.add_registration(handle, params={}, valid_path, user_key)
|
110
110
|
header = { user_handle: handle }
|
111
|
+
message = 'header_msg'
|
111
112
|
|
112
113
|
# Valid path options
|
113
114
|
#
|
@@ -123,7 +124,7 @@ module SilaRuby
|
|
123
124
|
# email: "test@silamoney.com"
|
124
125
|
# }
|
125
126
|
|
126
|
-
sila_post_signed('add/' + valid_path, header,
|
127
|
+
sila_post_signed('add/' + valid_path, header, message, params, user_key)
|
127
128
|
end
|
128
129
|
|
129
130
|
# --------------------------------------------
|
@@ -132,6 +133,7 @@ module SilaRuby
|
|
132
133
|
# Update an existing email, phone number, street address, identity, or entity (name, birthdate, or business data).
|
133
134
|
def self.update_registration(handle, params={}, valid_path, user_key)
|
134
135
|
header = { user_handle: handle }
|
136
|
+
message = 'header_msg'
|
135
137
|
|
136
138
|
# Valid path options
|
137
139
|
#
|
@@ -149,7 +151,7 @@ module SilaRuby
|
|
149
151
|
# email: "test@silamoney.com"
|
150
152
|
# }
|
151
153
|
|
152
|
-
sila_post_signed('update/' + valid_path, header,
|
154
|
+
sila_post_signed('update/' + valid_path, header, message, params, user_key)
|
153
155
|
end
|
154
156
|
|
155
157
|
# --------------------------------------------
|
@@ -158,6 +160,7 @@ module SilaRuby
|
|
158
160
|
# Delete an existing email, phone number, street address, or identity.
|
159
161
|
def self.delete_registration(handle, params={}, valid_path, user_key)
|
160
162
|
header = { user_handle: handle }
|
163
|
+
message = 'header_msg'
|
161
164
|
|
162
165
|
# Valid path options
|
163
166
|
#
|
@@ -173,7 +176,7 @@ module SilaRuby
|
|
173
176
|
# uuid: "7f83044b-63c8-4d56-b107-d52fa7ae2d7a"
|
174
177
|
# }
|
175
178
|
|
176
|
-
sila_post_signed('delete/' + valid_path, header,
|
179
|
+
sila_post_signed('delete/' + valid_path, header, message, params, user_key)
|
177
180
|
end
|
178
181
|
|
179
182
|
# --------------------------------------------
|
data/lib/sila-ruby/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module SilaRuby
|
2
|
-
VERSION = '0.0.
|
3
|
-
end
|
2
|
+
VERSION = '0.0.15'
|
3
|
+
end
|