Class: QuickTravel::Package
- Defined in:
- lib/quick_travel/package.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
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 Attribute Details
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
5 6 7 |
# File 'lib/quick_travel/package.rb', line 5 def end |
Instance Method Details
#product_type ⇒ Object
9 10 11 |
# File 'lib/quick_travel/package.rb', line 9 def product_type QuickTravel::ProductType.find(product_type_id) end |