module PriceTypes
Public Instance Methods
get_price_type(id, options={})
click to toggle source
# File lib/tessitura_rest/txn/price_types.rb, line 3 def get_price_type(id, options={}) options.merge!(basic_auth: @auth, headers: @headers) response = self.class.get(base_api_endpoint("TXN/PriceTypes/#{id}"), options) JSON.parse(response.body) end
get_price_type_details(id, mode_of_sale, source, options={})
click to toggle source
# File lib/tessitura_rest/txn/price_types.rb, line 9 def get_price_type_details(id, mode_of_sale, source, options={}) options.merge!(basic_auth: @auth, headers: @headers) response = self.class.get(base_api_endpoint("TXN/PriceTypes/Details?performanceIds=#{id}&modeOfSaleId=#{mode_of_sale}&sourceId=#{source}"), options) JSON.parse(response.body) end