class Tiqets::Resources::Product::Product

Attributes

city_id[R]
city_name[R]
country_id[R]
country_name[R]
data[R]
distance[R]
geolocation[R]
id[R]
images[R]
language[R]
languages[R]
price[R]
product_checkout_url[R]
product_url[R]
ratings[R]
sale_status[R]
tag_ids[R]
tagline[R]
title[R]
venue[R]

Public Class Methods

new(attributes) click to toggle source
# File lib/tiqets/resources/product.rb, line 15
def initialize(attributes)
  @data = attributes
  @id = attributes['id']
  @language = attributes['language']
  @languages = attributes['languages']
  @title = attributes['title']
  @tagline = attributes['tagline']
  @price = attributes['price']
  @sale_status = attributes['sale_status']
  @country_name = attributes['country_name']
  @country_id = attributes['country_id']
  @city_name = attributes['city_name']
  @city_id = attributes['city_id']
  @tag_ids = attributes['tag_ids']
  @images = attributes['images']
  @ratings = attributes['ratings']
  @geolocation = attributes['geolocation']
  @distance = attributes['distance']
  @venue = attributes['venue']
  @product_url = attributes['product_url']
  @product_checkout_url = attributes['product_checkout_url']
end