Class: ZQuickblox::Dialog::CreateDialogRequest
- Defined in:
- lib/zquickblox/dialog/create_dialog_request.rb
Constant Summary
Constants inherited from Request
Instance Attribute Summary
Attributes inherited from Request
#connection, #errors, #headers, #method, #params, #response, #response_body, #uri
Instance Method Summary collapse
-
#initialize(params) ⇒ CreateDialogRequest
constructor
A new instance of CreateDialogRequest.
Methods inherited from Request
#after_request, #before_request, #execute, #header
Constructor Details
#initialize(params) ⇒ CreateDialogRequest
Returns a new instance of CreateDialogRequest.
4 5 6 7 8 9 |
# File 'lib/zquickblox/dialog/create_dialog_request.rb', line 4 def initialize(params) super() @uri = "/chat/Dialog.json" @method = :post @params = params end |