Sha256: 3920b0abb775713875fb2c38bd7f771adf63227d26bb921231010f40f274f0fb
Contents?: true
Size: 654 Bytes
Versions: 31
Compression:
Stored size: 654 Bytes
Contents
module ProductionSeason 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 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 end
Version data entries
31 entries across 31 versions & 1 rubygems