Class: ZQuickblox::User::DeleteUserRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/zquickblox/user/delete_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(id) ⇒ DeleteUserRequest

Returns a new instance of DeleteUserRequest.



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

def initialize(id)
  super()
  @uri = "/users/#{id}.json"
  @method = :delete
end