Module: Tiqets::Resources::Product

Included in:
Client
Defined in:
lib/tiqets/resources/product.rb

Defined Under Namespace

Classes: Product

Instance Method Summary collapse

Instance Method Details

#find_product(id, params = {}) ⇒ Object



4
5
6
7
# File 'lib/tiqets/resources/product.rb', line 4

def find_product(id, params = {})
  response = get("products/#{id}", params, 'product')
  Product.new(response)
end