module ProductionSeason
Public Instance Methods
get_production_season(id, options={})
click to toggle source
# File lib/tessitura_rest/txn/production_season.rb, line 3 def get_production_season(id, options={}) options.merge!(basic_auth: @auth, headers: @headers) response = self.class.get(base_api_endpoint("TXN/ProductionSeasons/#{id}"), options) JSON.parse(response.body) end
productions_by_performance_date(start_date=nil, end_date=nil, options={})
click to toggle source
# File lib/tessitura_rest/txn/production_season.rb, line 9 def productions_by_performance_date(start_date=nil, end_date=nil, options={}) parameters = { 'PerformanceStartDate': start_date, 'PerformanceEndDate': end_date } options.merge!(basic_auth: @auth, headers: @headers) options.merge!(:body => parameters) response = self.class.post(base_api_endpoint('TXN/ProductionSeasons/Search'), options) end