tessitura_rest 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc84dec78100bffc1d15ef5ca388e002ef660599
4
- data.tar.gz: c82d2101c7a7f4f7d0825cc82a6277f8fc70d514
3
+ metadata.gz: 539d541667c74949669fd39b1691d096d0089f34
4
+ data.tar.gz: 8e65a74aea89788a223458ecefbc44dd2a938c51
5
5
  SHA512:
6
- metadata.gz: 221a59d1c7846f4b8e90572782bd3255063f2da8e3b7186320686fc74c6b20dae55fd6609b097b300d1f12d69362d189dad20db81e028b003d7a35bd6a74debf
7
- data.tar.gz: 28fe98fb0cea35fc053066ef64e93ecc14ba53512baa8e37c81376d64583e02175446a4a690321ddfb8f8661a305586394014f117ce126bc6722d2c241e89e60
6
+ metadata.gz: 0251e01da4fabbaccaccf63137f38631383bc613d9a7863eb9b530d0c574917886c8ecd5dc27e1dbe10f5d39be79ed7ce74cbdb066d01dec6f1805f60ee381f2
7
+ data.tar.gz: 36ee9921debd125ee704f166f50091809dc89f2b0a921ce8a4a6e4d8e721b9b2d9afdce71ca68e55262e29f6e451df99c800cb071e2b644bf32db3f2cf48c74d
@@ -17,6 +17,7 @@ class TessituraRest
17
17
  include Actions
18
18
  include LocalProcedure
19
19
  include Diagnostics
20
+ include Package
20
21
 
21
22
  def initialize(options={})
22
23
  @auth = {:username => ENV['TESSITURA_USERNAME'], :password => ENV['TESSITURA_PASSWORD']}
@@ -0,0 +1,14 @@
1
+ module Package
2
+
3
+ def search_by_performance_date(start_date=nil, end_date=nil, options={})
4
+ parameters =
5
+ {
6
+ 'PerformanceStartDate': start_date,
7
+ 'PerformanceEndDate': end_date
8
+ }
9
+ options.merge!({:basic_auth => @auth})
10
+ options.merge!(:body => parameters)
11
+ response = self.class.post(base_api_endpoint('TXN/Packages/Search'), options)
12
+
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brittany Martin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-02 00:00:00.000000000 Z
11
+ date: 2018-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -137,6 +137,7 @@ files:
137
137
  - lib/tessitura_rest/custom/local_procedure.rb
138
138
  - lib/tessitura_rest/diagnostics/diagnostics.rb
139
139
  - lib/tessitura_rest/security/security_user_groups.rb
140
+ - lib/tessitura_rest/txn/package.rb
140
141
  - lib/tessitura_rest/version.rb
141
142
  - lib/tessitura_rest/web/cart.rb
142
143
  - lib/tessitura_rest/web/login.rb