tessitura_rest 2.0.0 → 2.0.1
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 +4 -4
- data/lib/tessitura_rest/version.rb +1 -1
- data/lib/tessitura_rest/web/cart.rb +4 -4
- data/lib/tessitura_rest/web/session.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98c5160893c0d3d533affd24c59e1d7b7891585aba4e0f8545ad255b34b547bc
|
|
4
|
+
data.tar.gz: 9286db582296fe7b2e4f9aec4cb2799ad3b26a43fbc0a28e6977056dc07ed23f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b0bb581bdb2f6fb533853b54913accf143e7bff4cbaff30c981179152794210c38d2926bae9e0024e93c607094211403d214ee29b63e4d620c92eea204e4a92
|
|
7
|
+
data.tar.gz: 8a72185f02f46ab171bbb44b232383d6437eed60f5ec6c6b4e1bbae4426a322f9ac5506f2d85fc7c6a91307e65d0d5d19437064b5d9f485013621244a466aff5
|
|
@@ -128,7 +128,7 @@ module Cart
|
|
|
128
128
|
}
|
|
129
129
|
options.merge!(basic_auth: @auth, headers: @headers)
|
|
130
130
|
options.merge!(:body => parameters.to_json)
|
|
131
|
-
self.class.post(base_api_endpoint("
|
|
131
|
+
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Tickets"), options)
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
def return_tickets(session_key, return_or_donate, id, options = {})
|
|
@@ -139,7 +139,7 @@ module Cart
|
|
|
139
139
|
}
|
|
140
140
|
options.merge!(basic_auth: @auth, headers: @headers)
|
|
141
141
|
options.merge!(:body => parameters.to_json)
|
|
142
|
-
self.class.post(base_api_endpoint("
|
|
142
|
+
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Tickets/Return"), options)
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
def add_package_item(session_key, price_type, package_id, number_of_seats, zone_id, leave_single_seats, parent_package_line_item_id, unseated, requested_seats = nil, options = {})
|
|
@@ -221,12 +221,12 @@ module Cart
|
|
|
221
221
|
}
|
|
222
222
|
options.merge!(basic_auth: @auth, headers: @headers)
|
|
223
223
|
options.merge!(:body => parameters.to_json)
|
|
224
|
-
self.class.post(base_api_endpoint("
|
|
224
|
+
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Print/TicketElements"), options)
|
|
225
225
|
end
|
|
226
226
|
|
|
227
227
|
def remove_tickets(session_key, performance_id, line_item_id, options = {})
|
|
228
228
|
options.merge!(basic_auth: @auth, headers: @headers)
|
|
229
|
-
self.class.delete(base_api_endpoint("
|
|
229
|
+
self.class.delete(base_api_endpoint("Web/Cart/#{session_key}/Tickets/#{performance_id}/#{line_item_id}"), options)
|
|
230
230
|
end
|
|
231
231
|
|
|
232
232
|
def add_or_update_fee(session_key, action, fee_id, item_fee_id = nil, amount = nil, options = {})
|
|
@@ -95,7 +95,7 @@ module Session
|
|
|
95
95
|
}
|
|
96
96
|
options.merge!(basic_auth: @auth, headers: @headers)
|
|
97
97
|
options.merge!(:body => parameters.to_json)
|
|
98
|
-
self.class.post(base_api_endpoint("
|
|
98
|
+
self.class.post(base_api_endpoint("Web/Session/#{key}/Login/SendCredentials"), options)
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
def send_credentials_v16(key, email, login_type, template_id, options = {})
|
|
@@ -108,7 +108,7 @@ module Session
|
|
|
108
108
|
}
|
|
109
109
|
options.merge!(basic_auth: @auth, headers: @headers)
|
|
110
110
|
options.merge!(:body => parameters.to_json)
|
|
111
|
-
self.class.post(base_api_endpoint("
|
|
111
|
+
self.class.post(base_api_endpoint("Web/Session/#{key}/Login/SendCredentials"), options)
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
def update_login(key, user_name, old_password, new_password, email, new_email, options = {})
|
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: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
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: 2024-06-
|
|
11
|
+
date: 2024-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|