Sha256: c913baa1c899d9c49cfb9af50c85a11f0f0400468c82873b3956a37fae0f7fca

Contents?: true

Size: 553 Bytes

Versions: 4

Compression:

Stored size: 553 Bytes

Contents

module RoomoramaApi
  module Api
    module Users
      def users_me(options={})
        api_call "me", options
      end
  
      def users_update_profile(options={})
        api_call "me", options, :put
      end
  
      def users_get_data(user_id, options={})
        api_call "users/" + user_id.to_s, options
      end
  
      def users_register(options={})
        api_call "users", options, :post
      end
  
      def users_reviews(user_id, options={})
        api_call "users/" + user_id.to_s + "/reviews", options
      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/users.rb
roomorama_api-0.4.0 lib/roomorama_api/api/users.rb
roomorama_api-0.3.0 lib/roomorama_api/api/users.rb
roomorama_api-0.2.0 lib/roomorama_api/api/users.rb