tessitura_rest 1.5.0 → 1.5.1

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: fccd55ec5ad82fbb2c6265ffe58f50f9b724b00abf82da753ad0b738645f5e40
4
- data.tar.gz: b5f549a8e3b4c5a40bc0ecd3f07b2144e3b6da13777b0b7e178eef73b08ae5cf
3
+ metadata.gz: 1b0e73929476e5b0fb98733fb24cd87c99f80cf7e72b8f9836bcfbd43b5a3b93
4
+ data.tar.gz: 1ddde42fd7152c9b5465dce0c60da4c5b53d91d7cf864f3e23ca6aea53fd4173
5
5
  SHA512:
6
- metadata.gz: 9fb08860ab04fb2605ef77db2da31c6f2d7dc56b04bd66f439a34d4d470f236542435b1e7a4c03325e82dd101428d94da9f7c3d4af77874747ed8011ff137198
7
- data.tar.gz: 9f40edbbc7c96b8a423e7ee28224e084924f3f48d8591c42a208937621397b6a826731a4eccf5f563f46c2533a815205f00fe3b4d6a7c912cf977dbc81bc518e
6
+ metadata.gz: 7c57afbab08d149f2527c85ec8430787b943c38712e114a13df712e380b3da9c5327be15b7b0bff267695292e4488e8d706db782349d4197942f33fb6f8316dc
7
+ data.tar.gz: '05059ea32d3bbb55da3ec671332922a9f3d2472c95a045cae1890a96772ebe560c13e7787e5cafcce35ed7dc9cea6b65e24f928d2ce7c9219d9d18a2c78d6922'
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '1.5.0'.freeze
2
+ VERSION = '1.5.1'.freeze
3
3
  end
@@ -115,17 +115,6 @@ module Cart
115
115
  self.class.put(base_api_endpoint("Web/Cart/#{session_key}/Properties"), options)
116
116
  end
117
117
 
118
- def add_order_comment(session_key, notes, solicitor = 'webapi', options = {})
119
- options.merge!(basic_auth: @auth, headers: @headers)
120
- parameters =
121
- {
122
- 'Solicitor': solicitor,
123
- 'Notes': notes,
124
- }
125
- options.merge!(:body => parameters.to_json)
126
- self.class.put(base_api_endpoint("Web/Cart/#{session_key}/Properties"), options)
127
- end
128
-
129
118
  def reserve_tickets(session_key, number_of_seats, perf_id, price_type, zone_id, unseated, requested_seats = nil, special_requests = nil, options = {})
130
119
  parameters =
131
120
  {
@@ -17,7 +17,7 @@ module Login
17
17
  options.merge!(basic_auth: @auth, headers: @headers)
18
18
  options.merge!(:body => parameters.to_json)
19
19
  post = self.class.post(base_api_endpoint("Web/Session/#{session_key}/Login"), options)
20
- post['IsLoggedIn']
20
+ post.success?
21
21
  end
22
22
 
23
23
  def login_using_external(email, login_type_id, promotion, session_key, options = {})
@@ -44,7 +44,7 @@ module Login
44
44
  options.merge!(basic_auth: @auth, headers: @headers)
45
45
  options.merge!(:body => parameters.to_json)
46
46
  post = self.class.post(base_api_endpoint("Web/Session/#{session_key}/Login/Token"), options)
47
- post['IsLoggedIn']
47
+ post.success?
48
48
  end
49
49
 
50
50
  def login_as_guest(email, key, 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: 1.5.0
4
+ version: 1.5.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-05-20 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler