blackstack-core 1.2.23 → 1.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/functions.rb +4 -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: 1aa3a45ff79a12f9925f0ee359ecb2cc34a939d0d5bd57c4bb37ee94f09fdcc7
|
4
|
+
data.tar.gz: 8c20f141fdcfb8f1c541d7fd20db8c5b1ba262b68bd384b704f8b07999ff4827
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 728a63245d33b12c75369e1518bb9df8655b413054309db4fde529218cb08b91ac4cd81ef0369bdce90c635645142cb62695172c7fa0c948f8d42fc363f86128
|
7
|
+
data.tar.gz: bd19db97213396022a459ba8f96e9431c75b65e3030eb9a0e1f3836f11ef5df16d805376e506c02a046c83667339555028a60ec4dbca02fbc0bf5c622e552972
|
data/lib/functions.rb
CHANGED
@@ -107,8 +107,11 @@ module BlackStack
|
|
107
107
|
return self
|
108
108
|
end
|
109
109
|
|
110
|
-
|
110
|
+
# sysowner must provide the id_account for getting an account value.
|
111
|
+
# for non sysowner it is assigned to his account.
|
112
|
+
def self.account_value(field:, id_account:nil)
|
111
113
|
params = {}
|
114
|
+
params['id_account'] = id_account
|
112
115
|
params['field'] = field
|
113
116
|
# call the API
|
114
117
|
ret = BlackStack::API.post(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blackstack-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Daniel Sardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: content_spinning
|