Sha256: b7abfb1a82876643eab1b27646d5fc6011ad818d1e5640d982abebfe0bc0c608
Contents?: true
Size: 662 Bytes
Versions: 21
Compression:
Stored size: 662 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.to_json) response = self.class.post(base_api_endpoint('TXN/ProductionSeasons/Search'), options) end end
Version data entries
21 entries across 21 versions & 1 rubygems