Class: QuickTravel::Location
- Defined in:
- lib/quick_travel/mock.rb,
lib/quick_travel/location.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
#regions ⇒ Object
8 9 10 |
# File 'lib/quick_travel/location.rb', line 8 def regions Region.all.select { |r| region_ids.include?(r.id) } end |