Class: DebtManagementCenter::FinancialStatusReportResponse
- Inherits:
-
Object
- Object
- DebtManagementCenter::FinancialStatusReportResponse
- Defined in:
- lib/debt_management_center/responses/financial_status_report_response.rb
Instance Attribute Summary collapse
-
#filenet_id ⇒ Object
readonly
Returns the value of attribute filenet_id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(response_body) ⇒ FinancialStatusReportResponse
constructor
A new instance of FinancialStatusReportResponse.
- #to_h ⇒ Object
Constructor Details
#initialize(response_body) ⇒ FinancialStatusReportResponse
Returns a new instance of FinancialStatusReportResponse.
9 10 11 12 13 |
# File 'lib/debt_management_center/responses/financial_status_report_response.rb', line 9 def initialize(response_body) @response_body = response_body @status = @response_body['status'] @filenet_id = @response_body['identifier'] end |
Instance Attribute Details
#filenet_id ⇒ Object (readonly)
Returns the value of attribute filenet_id.
7 8 9 |
# File 'lib/debt_management_center/responses/financial_status_report_response.rb', line 7 def filenet_id @filenet_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
7 8 9 |
# File 'lib/debt_management_center/responses/financial_status_report_response.rb', line 7 def status @status end |
Instance Method Details
#to_h ⇒ Object
15 16 17 |
# File 'lib/debt_management_center/responses/financial_status_report_response.rb', line 15 def to_h { response_body: @response_body } end |