Module: RoomoramaApi::Api::HostProperties
- Included in:
- Client
- Defined in:
- lib/roomorama_api/api/host_properties.rb
Instance Method Summary collapse
- #host_properties_create(room_id, options = {}) ⇒ Object
- #host_properties_list(options = {}) ⇒ Object
- #host_properties_show(room_id, options = {}) ⇒ Object
- #host_properties_update(room_id, options = {}) ⇒ Object
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, ={}) api_call "host/rooms/" + room_id.to_s, , :post end |
#host_properties_list(options = {}) ⇒ Object
4 5 6 |
# File 'lib/roomorama_api/api/host_properties.rb', line 4 def host_properties_list(={}) api_call "host/rooms", 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, ={}) api_call "host/rooms/" + room_id.to_s, 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, ={}) api_call "host/rooms/" + room_id.to_s, , :put end |