tessitura_rest 0.2.4 → 0.2.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea4698b64035bc0ca7c514ea96a86a768ba96daa
|
4
|
+
data.tar.gz: 19df2c7631c3cbc9763a92df6f33fb916ecc7249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c0f6fbaaa3054c8547e51b0bc9cc9a61a0968079ede9f7693db96971eefd714711054783250690b323e3fedd695545b3557dcf1214b75d609f83ac84c092e65
|
7
|
+
data.tar.gz: f929331475c3751987d8a5231b05bf84c98bda34989c9a3288b888bf67a2004bf34519c6d04cac7888e79876a7f90f3347dedd81a4608880b5a05b5e05228550
|
data/lib/tessitura_rest.rb
CHANGED
@@ -5,7 +5,7 @@ require 'httparty'
|
|
5
5
|
|
6
6
|
class TessituraRest
|
7
7
|
include HTTParty
|
8
|
-
|
8
|
+
|
9
9
|
include Accounts
|
10
10
|
include Actions
|
11
11
|
include Addresses
|
@@ -20,6 +20,7 @@ class TessituraRest
|
|
20
20
|
include Package
|
21
21
|
include Session
|
22
22
|
include SecurityUserGroups
|
23
|
+
include States
|
23
24
|
include WebLogins
|
24
25
|
|
25
26
|
def initialize(options={})
|
@@ -35,6 +35,11 @@ module Session
|
|
35
35
|
JSON.parse(response.body)
|
36
36
|
end
|
37
37
|
|
38
|
+
def load_existing_order(key, order_id, options={})
|
39
|
+
options.merge!({:basic_auth => @auth})
|
40
|
+
self.class.post(base_api_endpoint("Web/Session/#{key}/LoadOrder/#{order_id}"), options)
|
41
|
+
end
|
42
|
+
|
38
43
|
def get_promotion(key, code, options={})
|
39
44
|
parameters =
|
40
45
|
{
|
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: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- lib/tessitura_rest/diagnostics/diagnostics.rb
|
139
139
|
- lib/tessitura_rest/finance/gift_certificates.rb
|
140
140
|
- lib/tessitura_rest/reference_data/countries.rb
|
141
|
+
- lib/tessitura_rest/reference_data/states.rb
|
141
142
|
- lib/tessitura_rest/security/security_user_groups.rb
|
142
143
|
- lib/tessitura_rest/txn/package.rb
|
143
144
|
- lib/tessitura_rest/version.rb
|