Sha256: 30a5a24cb732d66eee7aa2d834cb9145ab9d4fd1d65b8e1eaa99c74f3dedff00

Contents?: true

Size: 222 Bytes

Versions: 11

Compression:

Stored size: 222 Bytes

Contents

module PriceTypes

  def get_price_type(id, options={})
    options.merge!({:basic_auth => @auth})
    response = self.class.get(base_api_endpoint("TXN/PriceTypes/#{id}"), options)
    JSON.parse(response.body)
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tessitura_rest-0.3.15 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.14 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.13 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.12 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.11 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.10 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.9 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.8 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.7 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.6 lib/tessitura_rest/txn/price_types.rb
tessitura_rest-0.3.5 lib/tessitura_rest/txn/price_types.rb