Sha256: a54e2f78737e4d4dbdfe9fa215ee28332dcf08c8031d79e434ca515fabecfded
Contents?: true
Size: 696 Bytes
Versions: 8
Compression:
Stored size: 696 Bytes
Contents
class RealSavvy::Adapter::Property < RealSavvy::Adapter::Base path_prefix_is 'properties' include RealSavvy::Concern::ComplexShowForAdapter def search(filter: {}, market_id: nil, page_size: nil, page_number: nil, page: {}) page[:size] ||= page_size page[:number] ||= page_number post("./api/v3/#{path_prefix}/search", {filter: filter, market_id: market_id, page: page}) end def cluster(filter: {}, market_id: nil, page_size: nil, page_number: nil, page: {}, precision: nil) page[:size] ||= page_size page[:number] ||= page_number post("./api/v3/#{path_prefix}/map/clusters", {filter: filter, market_id: market_id, page: page, precision: precision}) end end
Version data entries
8 entries across 8 versions & 1 rubygems