sila-ruby 0.0.20 → 0.0.21

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: dba94b7f304413f65447036b6efebed78af28e459e2f4de18bcd95a16a3a4e24
4
- data.tar.gz: 8ac83f82944e4f8cc44cc2e4a8442a6f346025923250378fc756e81347dbb27f
3
+ metadata.gz: a704ca6477cf29a9ed60ba9f2ed28f60bae35623bec10f08ffca73ec6ba15900
4
+ data.tar.gz: e06694efac8b91b8e88bce561a08b9cbc1c1f3915395d137685ddd7b377f24d5
5
5
  SHA512:
6
- metadata.gz: af5d22b0f134fd41e5cc16f79b24be93697de99b3547b214d3eac1b1ad2b9118ee5d529097d677d33f7e344ff821bdd0e3c99f58f9f171ae099106fdfdb2a225
7
- data.tar.gz: 63e83493f34543099c1ab697f58defa391e1fb5878a12ab27e2e4fafd2a1be2a6788c676aefc8130a925b69bf5eda400dcda9586f038525f5546e738aa6fc697
6
+ metadata.gz: e94868c06c71c01532c019ab72fad0ba99715226234451421c875ca9338d1166486a429c2996f61ac16f635e50df9fbe1d80be54fb8ddba5e547e464b4f061cd
7
+ data.tar.gz: 28100378d84efd45bc6fa9c03f8deb900059672dac0f6ff80ef40657bfbc1728862447c6d5752e9ff2b263312caa9d469abd6580b371653f38789ac633ec294b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sila-ruby (0.0.18)
4
+ sila-ruby (0.0.21)
5
5
  addressable (~> 2.6)
6
6
  dotenv (~> 2.7)
7
7
  eth
@@ -24,7 +24,7 @@ GEM
24
24
  money-tree (~> 0.10.0)
25
25
  rlp (~> 0.7.3)
26
26
  scrypt (~> 3.0.6)
27
- ffi (1.15.0)
27
+ ffi (1.15.3)
28
28
  ffi-compiler (1.0.1)
29
29
  ffi (>= 1.0.0)
30
30
  rake
@@ -183,6 +183,19 @@ module SilaRuby
183
183
  # LINK-BUSINESS-MEMBER -----------------------
184
184
  # --------------------------------------------
185
185
  #
186
+ def self.link_business_member(handle, params={}, user_key, business_handle)
187
+ header = { user_handle: handle, business_handle: business_handle }
188
+ message = 'header_msg'
189
+
190
+ # Example of params passed
191
+ #
192
+ # params = {
193
+ # role: "controlling_officer",
194
+ # member_handle: "your_individual_user_handle"
195
+ # }
196
+
197
+ sila_post_signed('link_business_member', header, message, params, user_key)
198
+ end
186
199
 
187
200
  # --------------------------------------------
188
201
  # UNLINK-BUSINESS-MEMBER ---------------------
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.20'
2
+ VERSION = '0.0.21'
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.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sequoir
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-27 00:00:00.000000000 Z
11
+ date: 2021-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable