Sha256: 54595ae1130e51bacf74a43896eba9080c1193ab99ee0a4b749b75b759de384f
Contents?: true
Size: 227 Bytes
Versions: 36
Compression:
Stored size: 227 Bytes
Contents
require 'quick_travel/adapter' module QuickTravel class Location < Adapter self.api_base = '/locations' self.lookup = true def regions Region.all.select { |r| region_ids.include?(r.id) } end end end
Version data entries
36 entries across 36 versions & 1 rubygems