Sha256: 0f231076af54f3a07e3b834b28feac31f38e4b2a34759863e198aaafe0c5026d
Contents?: true
Size: 439 Bytes
Versions: 20
Compression:
Stored size: 439 Bytes
Contents
module Homeflow module API class Location < Resource is_resource :locations #returns a search object pre build withe the correct place id def properties Property.where(:place => {:id => place_id}) end def self.find_by_county_id_and_location_id(county_id, location_id) Request.run_for(Homeflow::API::ResourceIdentifier.new("/counties/#{county_id}/locations/#{location_id}")) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems