amgencjana / roomorama-api

Ruby wrapper library to consume Roomorama's API 1.0

Home Page:https://www.roomorama.com/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Roomorama API

Ruby wrapper library to consume Roomorama's API 1.0

Usage

client = RoomoramaApi::Client.setup { |config| config.token = 'Your OAuth token' }

Covered methods

Properties

client.get_properties
client.get_property(property_hash)
client.create_property(property_hash)
client.update_property(property_hash)
client.set_instantly_available(property_hash)
client.get_units(property_hash)
client.get_unit(property_unit_hash)
client.create_unit(unit_hash)
client.update_unit(property_unit_hash)

Availabilities

client.get_availabilities(selection_hash)
client.update_availabilities(availabilities_hash)

Images

client.get_images(room_hash)
client.get_image(image_hash)
client.create_image(image_hash)
client.update_image(image_hash)
client.reorder_images(order_hash)

About

Ruby wrapper library to consume Roomorama's API 1.0

https://www.roomorama.com/api


Languages

Language:Ruby 100.0%