Class: QuickTravel::ResourceCategory

Inherits:
Adapter
  • Object
show all
Defined in:
lib/quick_travel/resource_category.rb

Instance Method Summary collapse

Methods inherited from Adapter

all, belongs_to, create, find, has_many, #to_s, update

Methods included from InitFromHash

#define_readers, #initialize, #to_hash

Instance Method Details

#product_typeObject



8
9
10
# File 'lib/quick_travel/resource_category.rb', line 8

def product_type
  QuickTravel::ProductType.find(product_type_id)
end