Sha256: 311b9dec129836383d8081d51a09157447af832a9c1fe8d67ab3ae21b2b6d76c
Contents?: true
Size: 803 Bytes
Versions: 4
Compression:
Stored size: 803 Bytes
Contents
module RoomoramaApi module Api module Properties def properties_find(options={}) api_call "rooms", options end def properties_get_data(room_id, options={}) api_call "rooms/" + room_id.to_s, options end def properties_find_similar(room_id, options={}) api_call "rooms/" + room_id.to_s + "/similar", options end def properties_availabilities(room_id, options={}) api_call "rooms/" + room_id.to_s + "/availabilities", options end def properties_price_check(room_id, options={}) api_call "inquiries/new.json", options.merge(room_id: room_id) end def properties_reviews(room_id, options={}) api_call "rooms/" + room_id.to_s + "/reviews", options end end end end
Version data entries
4 entries across 4 versions & 1 rubygems