tessitura_rest 0.3.5 → 0.3.6
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: d5cfb54388b6cc8aaa610fbf6cf05a041302ce5b
|
4
|
+
data.tar.gz: f5bbe9f1ea20afc4bb995556f48ebb32c7a1d15a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac2857dc19d93dbca7a27817c95031bc349a5959b5648f1a7cfb0c5deba30776526c5ee58d13610e70683a31e858ec438fd6479325f0721a89179b0371f0f7f2
|
7
|
+
data.tar.gz: 3c053cc9f500c5367343ae1057c93d217d071b9cb9cb963436580c8c528147817bdc82ca11ebd6066ddf4be3dd164cad15daf5b5d5bf69c710f6e8af6d9453cc
|
data/lib/tessitura_rest.rb
CHANGED
@@ -22,4 +22,16 @@ module PerformanceExtension
|
|
22
22
|
JSON.parse(response.body)
|
23
23
|
end
|
24
24
|
|
25
|
+
def get_performance_seats(id, mode_of_sale, constituent_id, options={})
|
26
|
+
options.merge!({:basic_auth => @auth})
|
27
|
+
response = self.class.get(base_api_endpoint("TXN/Performances/#{id}/Seats?modeOfSaleId=#{mode_of_sale}&constituentId=#{constituent_id}"), options)
|
28
|
+
JSON.parse(response.body)
|
29
|
+
end
|
30
|
+
|
31
|
+
def get_performance_seat_summaries(id, options={})
|
32
|
+
options.merge!({:basic_auth => @auth})
|
33
|
+
response = self.class.get(base_api_endpoint("TXN/Performances/#{id}/Seats/Summary"), options)
|
34
|
+
JSON.parse(response.body)
|
35
|
+
end
|
36
|
+
|
25
37
|
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.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- lib/tessitura_rest/diagnostics/diagnostics.rb
|
141
141
|
- lib/tessitura_rest/finance/gift_certificates.rb
|
142
142
|
- lib/tessitura_rest/reference_data/countries.rb
|
143
|
+
- lib/tessitura_rest/reference_data/sections.rb
|
143
144
|
- lib/tessitura_rest/reference_data/states.rb
|
144
145
|
- lib/tessitura_rest/security/security_user_groups.rb
|
145
146
|
- lib/tessitura_rest/txn/orders.rb
|