Module: RoomoramaApi::Api::HostAvailabilities
- Included in:
- Client
- Defined in:
- lib/roomorama_api/api/host_availabilities.rb
Instance Method Summary collapse
- #host_availabilities_list(room_id, options = {}) ⇒ Object
- #host_availabilities_update(room_id, options = {}) ⇒ Object
Instance Method Details
#host_availabilities_list(room_id, options = {}) ⇒ Object
4 5 6 |
# File 'lib/roomorama_api/api/host_availabilities.rb', line 4 def host_availabilities_list(room_id, ={}) api_call "host/rooms/#{room_id}/availabilities.json", end |
#host_availabilities_update(room_id, options = {}) ⇒ Object
8 9 10 |
# File 'lib/roomorama_api/api/host_availabilities.rb', line 8 def host_availabilities_update(room_id, ={}) api_call "host/rooms/#{room_id}/availabilities.json", , :put end |