Class: ZQuickblox::Dialog::UpdateDialogRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/zquickblox/dialog/update_dialog_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, params) ⇒ UpdateDialogRequest

Returns a new instance of UpdateDialogRequest.



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

def initialize(id, params)
  super()
  @uri    = "/chat/Dialog/#{id}.json"
  @method = :put
  @params = params
end