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