Class: QuickTravel::Passenger

Inherits:
Object
  • Object
show all
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_typeObject



7
8
9
# File 'lib/quick_travel/passenger.rb', line 7

def passenger_type
  QuickTravel::PassengerType.find(@passenger_type_id)
end