Class: ZQuickblox::User::CreateUserRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/zquickblox/user/create_user_request.rb

Constant Summary

Constants inherited from Request

Request::API_ENDPOINT

Instance Attribute Summary

Attributes inherited from Request

#connection, #errors, #headers, #method, #params, #response, #response_body, #uri

Instance Method Summary collapse

Methods inherited from Request

#after_request, #before_request, #execute, #header

Constructor Details

#initialize(params) ⇒ CreateUserRequest

Returns a new instance of CreateUserRequest.



4
5
6
7
8
9
# File 'lib/zquickblox/user/create_user_request.rb', line 4

def initialize(params)
  super()
  @uri    = "/users.json"
  @method = :post
  @params = params
end