tessitura_rest 0.8.6.6 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/LICENSE.txt +1 -1
- data/lib/tessitura_rest/diagnostics/diagnostics.rb +5 -0
- data/lib/tessitura_rest/txn/performance_extension.rb +2 -2
- data/lib/tessitura_rest/version.rb +1 -1
- data/lib/tessitura_rest/web/cart.rb +3 -3
- data/tessitura_rest.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fa34426ec546055756c280dc4d77d789d63b59e89b5a43be5914f95fede2aae
|
4
|
+
data.tar.gz: 3592bd2415fdd5887a1281f1641ec31c3bfde43dbcc1ca42cbd04308f29c8c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c257cdb5f389d3f352ed506cf811ae7d49b1d0fd9d14c58eff8e2bb4cf027ad4400b778545a8f9e38eb70b70f7997d4543039f9ab0d36a1b4eb18c774ea2f44
|
7
|
+
data.tar.gz: cae55d00e90e6b06657ca5cedbdc7c6b2ccc0ec0d722944118cabc176ec94cc2903aaa0586dd5a4f29b8530f689aec057991e6816a6c9f384c0e63426c512c0a
|
data/.travis.yml
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2021 The Pittsburgh Cultural Trust
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -3,4 +3,9 @@ module Diagnostics
|
|
3
3
|
options.merge!(basic_auth: @auth, headers: @headers)
|
4
4
|
self.class.get(base_api_endpoint('Diagnostics/Status'), options)
|
5
5
|
end
|
6
|
+
|
7
|
+
def seat_server_status(options={})
|
8
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
9
|
+
self.class.get(base_api_endpoint('Diagnostics/SeatServerStatus'), options)
|
10
|
+
end
|
6
11
|
end
|
@@ -48,10 +48,10 @@ module PerformanceExtension
|
|
48
48
|
JSON.parse(response.body)
|
49
49
|
end
|
50
50
|
|
51
|
-
def get_performance_prices(id, mos, options={})
|
51
|
+
def get_performance_prices(id, mos, source, options={})
|
52
52
|
options.merge!(basic_auth: @auth, headers: @headers)
|
53
53
|
options.merge!(:headers => {'Content-Type' => 'application/json'})
|
54
|
-
response = self.class.get(base_api_endpoint("TXN/Performances/Prices?performanceIds=#{id}&modeOfSaleId=#{mos}"), options)
|
54
|
+
response = self.class.get(base_api_endpoint("TXN/Performances/Prices?performanceIds=#{id}&modeOfSaleId=#{mos}&sourceId=#{source}"), options)
|
55
55
|
JSON.parse(response.body)
|
56
56
|
end
|
57
57
|
|
@@ -55,7 +55,7 @@ module Cart
|
|
55
55
|
'GiftCertificateNumber': gift_certificate_number
|
56
56
|
}
|
57
57
|
options.merge!(basic_auth: @auth, headers: @headers)
|
58
|
-
options.merge!(:body => parameters)
|
58
|
+
options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
|
59
59
|
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Payments/GiftCertificate"), options)
|
60
60
|
end
|
61
61
|
|
@@ -150,7 +150,7 @@ module Cart
|
|
150
150
|
"RequestedSeats": requested_seats
|
151
151
|
}
|
152
152
|
options.merge!(basic_auth: @auth, headers: @headers)
|
153
|
-
options.merge!(:body => parameters)
|
153
|
+
options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
|
154
154
|
self.class.post(base_api_endpoint("/Web/Cart/#{session_key}/Tickets"), options)
|
155
155
|
end
|
156
156
|
|
@@ -202,7 +202,7 @@ module Cart
|
|
202
202
|
"Unseated": unseated
|
203
203
|
}
|
204
204
|
options.merge!(basic_auth: @auth, headers: @headers)
|
205
|
-
options.merge!(:body => parameters)
|
205
|
+
options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
|
206
206
|
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Packages/Nfs"), options)
|
207
207
|
end
|
208
208
|
|
data/tessitura_rest.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'tessitura_rest/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "tessitura_rest"
|
8
8
|
spec.version = TessituraRest::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald']
|
10
|
+
spec.email = ['webteam@trustarts.org']
|
11
11
|
|
12
12
|
spec.summary = "Rest API Endpoint for the Tessitura Rest API (v14+)."
|
13
13
|
spec.description = "TessituraRest is an enterprise-wide, fully integrated software system for arts & cultural organizations."
|
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.
|
4
|
+
version: 0.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Brittany Martin
|
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-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -111,7 +111,7 @@ dependencies:
|
|
111
111
|
description: TessituraRest is an enterprise-wide, fully integrated software system
|
112
112
|
for arts & cultural organizations.
|
113
113
|
email:
|
114
|
-
-
|
114
|
+
- webteam@trustarts.org
|
115
115
|
executables: []
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
|
-
rubygems_version: 3.0.
|
188
|
+
rubygems_version: 3.0.9
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Rest API Endpoint for the Tessitura Rest API (v14+).
|