tessitura_rest 0.6.5 → 0.6.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
  SHA256:
3
- metadata.gz: a023d5ffda909d256038eaec120622c7548a7698fc177d7559593f0917399892
4
- data.tar.gz: cd8dbcca2fcb9aa141fd9b08f50025b59710f3454b24314a66f54a4fb19de31d
3
+ metadata.gz: 6539d50947b155b8bc8ba6083d8f49b1033ff35b04db9d8aebe557b5d48319ac
4
+ data.tar.gz: 6ae7e958f28bd77ff49c2401c2e028780ac1c1b1ed2f6c84a486d18de50fa097
5
5
  SHA512:
6
- metadata.gz: '0639c520220dc10df9544e3e2608d53f658789878fef410e12615180b5ff958d7d9f151816a88adeedfbbd6ca11880938984c1d36b6513b6e952941a0f02d4dd'
7
- data.tar.gz: 278a710df57ed289bd45789fe88decdc20f47ed79219c38f8d3dfb87b61b683d3cea4d6eb9dc730fa372b2e9474c316601975f6c7fc648228e2d6c413c0d950b
6
+ metadata.gz: ae8858beb50593e268412a46fad5e5afead0f0e4cce7077099e04526db1afffe1d54bc457606aa9b4bf3d90d90907c6cd8d17906222a84310f931a46461c5950
7
+ data.tar.gz: ae232f5728fd2492eeeb12f99a01ad80178471bf5dca04bd3813c9445993bae964d92bd9cdd78ee0c63277f68f4ffe5c9f023aa6d010fdf2d95d4e0dfb890f62
@@ -34,6 +34,7 @@ class TessituraRest
34
34
  include Session
35
35
  include SecurityUserGroups
36
36
  include States
37
+ include SubLineItems
37
38
  include WebContents
38
39
  include WebLogins
39
40
 
@@ -0,0 +1,9 @@
1
+ module SubLineItems
2
+
3
+ def get_return_tickets(constituent_id, status_id, performance_start_date, performance_end_date, order_id, options={})
4
+ options.merge!(basic_auth: @auth, headers: @headers)
5
+ response = self.class.get(base_api_endpoint("TXN/SubLineItems?constituentId=#{constituent_id}&orderId=#{order_id}&subLineItemStatusIds=#{status_id}&performanceStartDate=#{performance_start_date}&performanceEndDate=#{performance_end_date}"), options)
6
+ JSON.parse(response.body)
7
+ end
8
+
9
+ end
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '0.6.5'
2
+ VERSION = '0.6.6'
3
3
  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.6.5
4
+ version: 0.6.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: 2020-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,6 +154,7 @@ files:
154
154
  - lib/tessitura_rest/txn/product_keywords.rb
155
155
  - lib/tessitura_rest/txn/production_extension.rb
156
156
  - lib/tessitura_rest/txn/production_season.rb
157
+ - lib/tessitura_rest/txn/sub_line_items.rb
157
158
  - lib/tessitura_rest/txn/web_contents.rb
158
159
  - lib/tessitura_rest/version.rb
159
160
  - lib/tessitura_rest/web/cart.rb