tessitura_rest 0.8.6.3 → 0.8.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bff0b684f231c95391e8475bc1af4c8fe8dc315e2faa527f7c296a90fc00c7b6
|
4
|
+
data.tar.gz: a480089e979a126bb2166a7f331a40c7705a905812cb0c84152353a49de458ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63db491ec160695cc234cdb37aebd0ff15483fb73b93dfbbd17094c3d698faeacdb3dd4a55ee8ba3ebcdbd40179a0f9b15af71214f52e2eaba5fa3ab0b62123e
|
7
|
+
data.tar.gz: fbcfbef6bc91d67e0d1ade2ab8610e357eae5e7f1e47bc6abb2e5aa47dc882bc89efe51ff03e9dfe56664b6cfd6bce2be319d44236266cc8646f2d1249cc9af6
|
@@ -30,15 +30,28 @@ module PerformanceExtension
|
|
30
30
|
JSON.parse(response.body)
|
31
31
|
end
|
32
32
|
|
33
|
+
def get_performance_zone_availability(ids, mode_of_sale, constituent_id, options={})
|
34
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
35
|
+
response = self.class.get(base_api_endpoint("TXN/Performances/ZoneAvailabilities?performanceIds=#{ids}&modeOfSaleId=#{mode_of_sale}&constituentId=#{constituent_id}"), options)
|
36
|
+
JSON.parse(response.body)
|
37
|
+
end
|
38
|
+
|
33
39
|
def get_performance_seats(id, mode_of_sale, constituent_id, section_id, options={})
|
34
40
|
options.merge!(basic_auth: @auth, headers: @headers)
|
35
41
|
response = self.class.get(base_api_endpoint("TXN/Performances/#{id}/Seats?modeOfSaleId=#{mode_of_sale}&constituentId=#{constituent_id}§ionIds=#{section_id}"), options)
|
36
42
|
JSON.parse(response.body)
|
37
43
|
end
|
38
44
|
|
39
|
-
def get_performance_seat_summaries(id, options={})
|
45
|
+
def get_performance_seat_summaries(id, mode_of_sale, constituent_id, price_type_ids, options={})
|
46
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
47
|
+
response = self.class.get(base_api_endpoint("TXN/Performances/#{id}/Seats/Summary?modeOfSaleId=#{mode_of_sale}&constituentId=#{constituent_id}&checkPriceTypeIds=#{price_type_ids}"), options)
|
48
|
+
JSON.parse(response.body)
|
49
|
+
end
|
50
|
+
|
51
|
+
def get_performance_prices(id, mos, options={})
|
40
52
|
options.merge!(basic_auth: @auth, headers: @headers)
|
41
|
-
|
53
|
+
options.merge!(:headers => {'Content-Type' => 'application/json'})
|
54
|
+
response = self.class.get(base_api_endpoint("TXN/Performances/Prices?performanceIds=#{id}&modeOfSaleId=#{mos}"), options)
|
42
55
|
JSON.parse(response.body)
|
43
56
|
end
|
44
57
|
|
@@ -6,4 +6,10 @@ module PriceTypes
|
|
6
6
|
JSON.parse(response.body)
|
7
7
|
end
|
8
8
|
|
9
|
+
def get_price_type_details(id, mode_of_sale, options={})
|
10
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
11
|
+
response = self.class.get(base_api_endpoint("TXN/PriceTypes/Details?performanceIds=#{id}&modeOfSaleId=#{mode_of_sale}"), options)
|
12
|
+
JSON.parse(response.body)
|
13
|
+
end
|
14
|
+
|
9
15
|
end
|
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.8.6.
|
4
|
+
version: 0.8.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|