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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/sila-ruby/entities.rb +13 -0
- data/lib/sila-ruby/version.rb +1 -1
- 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: a704ca6477cf29a9ed60ba9f2ed28f60bae35623bec10f08ffca73ec6ba15900
|
4
|
+
data.tar.gz: e06694efac8b91b8e88bce561a08b9cbc1c1f3915395d137685ddd7b377f24d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
27
|
+
ffi (1.15.3)
|
28
28
|
ffi-compiler (1.0.1)
|
29
29
|
ffi (>= 1.0.0)
|
30
30
|
rake
|
data/lib/sila-ruby/entities.rb
CHANGED
@@ -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 ---------------------
|
data/lib/sila-ruby/version.rb
CHANGED
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.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-
|
11
|
+
date: 2021-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|