Module: RoomoramaApi::Api::HostProperties

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

Instance Method Summary collapse

Instance Method Details

#host_properties_create(room_id, options = {}) ⇒ Object



12
13
14
# File 'lib/roomorama_api/api/host_properties.rb', line 12

def host_properties_create(room_id, options={})
  api_call "host/rooms/" + room_id.to_s, options, :post
end

#host_properties_list(options = {}) ⇒ Object



4
5
6
# File 'lib/roomorama_api/api/host_properties.rb', line 4

def host_properties_list(options={})
  api_call "host/rooms", options
end

#host_properties_show(room_id, options = {}) ⇒ Object



8
9
10
# File 'lib/roomorama_api/api/host_properties.rb', line 8

def host_properties_show(room_id, options={})
  api_call "host/rooms/" + room_id.to_s, options
end

#host_properties_update(room_id, options = {}) ⇒ Object



16
17
18
# File 'lib/roomorama_api/api/host_properties.rb', line 16

def host_properties_update(room_id, options={})
  api_call "host/rooms/" + room_id.to_s, options, :put
end