Class: QuickTravel::Passenger
- Inherits:
-
Object
- Object
- QuickTravel::Passenger
- Includes:
- InitFromHash
- Defined in:
- lib/quick_travel/passenger.rb
Instance Method Summary collapse
Methods included from InitFromHash
#define_readers, #initialize, #to_hash
Instance Method Details
#passenger_type ⇒ Object
7 8 9 |
# File 'lib/quick_travel/passenger.rb', line 7 def passenger_type QuickTravel::PassengerType.find(@passenger_type_id) end |