Sha256: 8425e9da5f92a113eb815d5a484629e332c34e52c26bba550210b91251a14751

Contents?: true

Size: 545 Bytes

Versions: 4

Compression:

Stored size: 545 Bytes

Contents

module RoomoramaApi
  module Api
    module HostProperties
      def host_properties_list(options={})
        api_call "host/rooms", options
      end
  
      def host_properties_show(room_id, options={})
        api_call "host/rooms/" + room_id.to_s, options
      end
  
      def host_properties_create(room_id, options={})
        api_call "host/rooms/" + room_id.to_s, options, :post
      end
  
      def host_properties_update(room_id, options={})
        api_call "host/rooms/" + room_id.to_s, options, :put
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roomorama_api-0.4.1 lib/roomorama_api/api/host_properties.rb
roomorama_api-0.4.0 lib/roomorama_api/api/host_properties.rb
roomorama_api-0.3.0 lib/roomorama_api/api/host_properties.rb
roomorama_api-0.2.0 lib/roomorama_api/api/host_properties.rb