Class: CallRecorderApi::Model::GetProfileResponse
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::GetProfileResponse
- Defined in:
- lib/call_recorder_api/model/get_profile_response.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
-
#code ⇒ Object
Returns the value of attribute code.
-
#credits ⇒ Object
Returns the value of attribute credits.
-
#credits_trans ⇒ Object
Returns the value of attribute credits_trans.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#rate_url ⇒ Object
Returns the value of attribute rate_url.
-
#share_url ⇒ Object
Returns the value of attribute share_url.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, code, profile, app, share_url, rate_url, credits, credits_trans) ⇒ GetProfileResponse
constructor
A new instance of GetProfileResponse.
- #to_s ⇒ Object
Constructor Details
#initialize(status, code, profile, app, share_url, rate_url, credits, credits_trans) ⇒ GetProfileResponse
Returns a new instance of GetProfileResponse.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 15 def initialize( status, code, profile, app, share_url, rate_url, credits, credits_trans ) @status = status @code = code @profile = profile @app = app @share_url = share_url @rate_url = rate_url @credits = credits @credits_trans = credits_trans end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
9 10 11 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 9 def app @app end |
#code ⇒ Object
Returns the value of attribute code.
7 8 9 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 7 def code @code end |
#credits ⇒ Object
Returns the value of attribute credits.
12 13 14 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 12 def credits @credits end |
#credits_trans ⇒ Object
Returns the value of attribute credits_trans.
13 14 15 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 13 def credits_trans @credits_trans end |
#profile ⇒ Object
Returns the value of attribute profile.
8 9 10 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 8 def profile @profile end |
#rate_url ⇒ Object
Returns the value of attribute rate_url.
11 12 13 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 11 def rate_url @rate_url end |
#share_url ⇒ Object
Returns the value of attribute share_url.
10 11 12 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 10 def share_url @share_url end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 6 def status @status end |
Instance Method Details
#to_s ⇒ Object
35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/call_recorder_api/model/get_profile_response.rb', line 35 def to_s 'GetProfileResponse{' + 'status=' + status.to_s + ', ' + 'code=' + code.to_s + ', ' + 'profile=' + profile.to_s + ', ' + 'app=' + app.to_s + ', ' + 'share_url=' + share_url.to_s + ', ' + 'rate_url=' + rate_url.to_s + ', ' + 'credits=' + credits.to_s + ', ' + 'credits_trans=' + credits_trans.to_s + '}' end |