tessitura_rest 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tessitura_rest/custom/local_procedure.rb +6 -18
- data/lib/tessitura_rest/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: ee92b87e4fc495f8c859ae916e74e7e1f3e2f9c9c45ab33a06d77b38c2c9cbd5
|
4
|
+
data.tar.gz: f64ae16839e866e52cf364d3c71a23a22debdf466fde19be2fc9c582282a26e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b26c32b0f94e7d65b092638d73241c1f41a8e450d7ba514922d2c05356d8c16652e8fb49f63d047a6ab81823a1a1b814412fce963f7346340c3a7d1339612e4
|
7
|
+
data.tar.gz: c4bd24938bddae4a93f515341f367d5063b13e51d5b099a0b67e3d3e6485e21a2d0e2b47ca38c28a1677f94a62fdf2535bf6f4985165f4ef74300cfede8e031c
|
@@ -1,32 +1,20 @@
|
|
1
1
|
module LocalProcedure
|
2
|
-
|
3
|
-
def execute_local_procedure(id, params = "", options={})
|
4
|
-
parameters =
|
5
|
-
{
|
6
|
-
'ProcedureId' => id.to_s,
|
7
|
-
'Parameters' => params
|
8
|
-
}
|
9
|
-
options.merge!(basic_auth: @auth, headers: @headers)
|
10
|
-
options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
|
11
|
-
self.class.post(base_api_endpoint('Custom/Execute'), options)
|
12
|
-
end
|
13
|
-
|
14
|
-
def execute_local_procedure_v2(id, params = [], options={})
|
2
|
+
def execute_local_procedure_v2(id, params = [], options = {})
|
15
3
|
parameters =
|
16
4
|
{
|
17
|
-
|
18
|
-
|
5
|
+
'ProcedureId' => id.to_s,
|
6
|
+
'ParameterValues' => params,
|
19
7
|
}
|
20
8
|
options.merge!(basic_auth: @auth, headers: @headers)
|
21
9
|
options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
|
22
10
|
self.class.post(base_api_endpoint('Custom/Execute'), options)
|
23
11
|
end
|
24
12
|
|
25
|
-
def execute_local_procedure_with_multiple_result_sets(id, parameter_values= [], options={})
|
13
|
+
def execute_local_procedure_with_multiple_result_sets(id, parameter_values = [], options = {})
|
26
14
|
parameters =
|
27
15
|
{
|
28
|
-
|
29
|
-
|
16
|
+
'ProcedureId' => id.to_s,
|
17
|
+
'ParameterValues' => parameter_values,
|
30
18
|
}
|
31
19
|
options.merge!(basic_auth: @auth, headers: @headers)
|
32
20
|
options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tessitura_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|