tessitura_rest 1.4.2 → 1.4.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1fbb1606415aa360b96aa66e1e9952fe71002e62ba5bcbff62700e9e2de45f7
|
4
|
+
data.tar.gz: a9c0a76018a7d7d3d9fde3d0dacb994890106484bcba7e5f9e4ab5ab5361907a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74033c876f833d00de3aead411ce424d5c3c8a94beca8e49b8e7cd67f0b272b4491951ef905fb6ff17d93ee64148aff81f86c4b8f0af6f0a598d2ac948f07644
|
7
|
+
data.tar.gz: c2e2505b41f12a657541a3592c190b87ae75db9289802b50bdfdab848cfb73abfa01ca5be7ea939d4b195957c178d994b1b76ba381fc749eb43a2a3bea8d56e0
|
@@ -0,0 +1,7 @@
|
|
1
|
+
module PricingRules
|
2
|
+
def get_pricing_rules(perf_id, order_date, mode_of_sale, options = {})
|
3
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
4
|
+
response = self.class.get(base_api_endpoint("TXN/PricingRules?performanceIds=#{perf_id}&orderDate=#{order_date}&modeOfSaleId=#{mode_of_sale}"), options)
|
5
|
+
JSON.parse(response.body)
|
6
|
+
end
|
7
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module TicketProtectionPerformances
|
2
|
+
def get_ticket_protection_performances(mos, options = {})
|
3
|
+
parameters = {
|
4
|
+
'ModeOfSaleId': mos,
|
5
|
+
'BusinessUnitId': 1,
|
6
|
+
'PerformanceTypeIds': 27,
|
7
|
+
}
|
8
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
9
|
+
options.merge!(:body => parameters)
|
10
|
+
response = self.class.post(base_api_endpoint('TXN/Performances/Search'), options)
|
11
|
+
JSON.parse(response.body)
|
12
|
+
end
|
13
|
+
end
|
data/lib/tessitura_rest.rb
CHANGED
@@ -31,6 +31,7 @@ class TessituraRest
|
|
31
31
|
include PerformancePackageModeOfSales
|
32
32
|
include Phones
|
33
33
|
include PriceTypes
|
34
|
+
include PricingRules
|
34
35
|
include ProductionExtension
|
35
36
|
include ProductKeywords
|
36
37
|
include ProductionSeason
|
@@ -39,6 +40,7 @@ class TessituraRest
|
|
39
40
|
include Session
|
40
41
|
include SecurityUserGroups
|
41
42
|
include States
|
43
|
+
include TicketProtectionPerformances
|
42
44
|
include SubLineItems
|
43
45
|
include WebContents
|
44
46
|
include WebLogins
|
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.4.
|
4
|
+
version: 1.4.4
|
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: 2023-07-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -157,10 +157,12 @@ files:
|
|
157
157
|
- lib/tessitura_rest/txn/performance_extension.rb
|
158
158
|
- lib/tessitura_rest/txn/performance_package_mode_of_sales.rb
|
159
159
|
- lib/tessitura_rest/txn/price_types.rb
|
160
|
+
- lib/tessitura_rest/txn/pricing_rules.rb
|
160
161
|
- lib/tessitura_rest/txn/product_keywords.rb
|
161
162
|
- lib/tessitura_rest/txn/production_extension.rb
|
162
163
|
- lib/tessitura_rest/txn/production_season.rb
|
163
164
|
- lib/tessitura_rest/txn/sub_line_items.rb
|
165
|
+
- lib/tessitura_rest/txn/ticket_protection_performances.rb
|
164
166
|
- lib/tessitura_rest/txn/web_contents.rb
|
165
167
|
- lib/tessitura_rest/version.rb
|
166
168
|
- lib/tessitura_rest/web/cart.rb
|