Class: CallRecorderApi::Model::NotifyUserRequest
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::NotifyUserRequest
- Defined in:
- lib/call_recorder_api/model/notify_user_request.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#body ⇒ Object
Returns the value of attribute body.
-
#device_type ⇒ Object
Returns the value of attribute device_type.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(api_key, title, body, device_type) ⇒ NotifyUserRequest
constructor
A new instance of NotifyUserRequest.
- #to_s ⇒ Object
Constructor Details
#initialize(api_key, title, body, device_type) ⇒ NotifyUserRequest
Returns a new instance of NotifyUserRequest.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/call_recorder_api/model/notify_user_request.rb', line 11 def initialize( api_key, title, body, device_type ) @api_key = api_key @title = title @body = body @device_type = device_type end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/call_recorder_api/model/notify_user_request.rb', line 6 def api_key @api_key end |
#body ⇒ Object
Returns the value of attribute body.
8 9 10 |
# File 'lib/call_recorder_api/model/notify_user_request.rb', line 8 def body @body end |
#device_type ⇒ Object
Returns the value of attribute device_type.
9 10 11 |
# File 'lib/call_recorder_api/model/notify_user_request.rb', line 9 def device_type @device_type end |
#title ⇒ Object
Returns the value of attribute title.
7 8 9 |
# File 'lib/call_recorder_api/model/notify_user_request.rb', line 7 def title @title end |
Instance Method Details
#to_s ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/call_recorder_api/model/notify_user_request.rb', line 23 def to_s 'NotifyUserRequest{' + 'api_key=' + api_key.to_s + ', ' + 'title=' + title.to_s + ', ' + 'body=' + body.to_s + ', ' + 'device_type=' + device_type.to_s + '}' end |