Sha256: cfd0c4c92aae7ec2e128e4f0224239c30cefabe985bdb0a14bf7fcafe73801ad
Contents?: true
Size: 661 Bytes
Versions: 40
Compression:
Stored size: 661 Bytes
Contents
module QuickTravel class Resource def self.find(id) new(id: id) end def product_type QuickTravel::ProductType.new end end class ProductType def needs_passengers return true if @needs_passengers.nil? @needs_passengers end end class PassengerType def self.all [ PassengerType.new(id: 1, name: 'Adult'), PassengerType.new(id: 2, name: 'Child') ] end end class Adapter def self.all [new, new] end end class PropertyType < Adapter def self.all [new, new] end end class Location < Adapter; end class Region < Adapter; end end
Version data entries
40 entries across 40 versions & 1 rubygems