Module: RoomoramaApi::Api::HostAvailabilities

Included in:
Client
Defined in:
lib/roomorama_api/api/host_availabilities.rb

Instance Method Summary collapse

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, options={})
  api_call "host/rooms/#{room_id}/availabilities.json", options
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, options={})
  api_call "host/rooms/#{room_id}/availabilities.json", options, :put
end