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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1697cab02fc71d78d6d7c780a125fed97b21b29a166cb996bb067f7027da1f9
4
- data.tar.gz: 74b2b713bc254411ecc5aad1531e8ddb14ac871c262c046c8e500993a0d8e900
3
+ metadata.gz: 4ba48cf032603ab9b9d18435fb5311486b95b010ad700f47098f2805fb5e7edd
4
+ data.tar.gz: c1d75030329fdad7ad6363867ca8fe2164dad4ca7486f2c95255eaf85434e3b6
5
5
  SHA512:
6
- metadata.gz: 81ade27710a2a43e644bc3be9c6f488b7df7ae27133773b2e29dafca4def787df965648fb67135d8245525908ccefa74c834fe52aa22bbc11c474a6e7a812bcb
7
- data.tar.gz: 03f2f488c93ebe2e5c98573c37480e9c4f4a52caea392026f6c071339a8c604d8aa3544e9a881faf8169fbb48f02c24edb0150fdd0fb7cab2185a1558547f04d
6
+ metadata.gz: d0e49ee3d607d1116a559e0eebc3c080b942ade99ba3b7ceebc10931f16b2cc7d149c0e7f6696cfdb52eb364cd20a5f97866ecf5b164990e1935dc9390c05f98
7
+ data.tar.gz: e0f7bc67fa1a929577a9ee0bb1b6a0a25786461b76f2b14b283622f43b917f74dc03d58f1a78a970a091cdec51c9cbf7afb1024d3caddbe51085c9c0129b4d47
@@ -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, nil, params, user_key)
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, nil, params, user_key)
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, nil, params, user_key)
179
+ sila_post_signed('delete/' + valid_path, header, message, params, user_key)
177
180
  end
178
181
 
179
182
  # --------------------------------------------
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.14'
3
- end
2
+ VERSION = '0.0.15'
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sila-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sequoir