Class: EVSS::DisabilityCompensationForm::FormSubmitResponse
- Inherits:
-
Response
- Object
- Common::Base
- Response
- EVSS::DisabilityCompensationForm::FormSubmitResponse
- Defined in:
- lib/evss/disability_compensation_form/form_submit_response.rb
Overview
Model for a parsed 526 submission response
Constant Summary
Constants included from Common::Client::Concerns::ServiceStatus
Common::Client::Concerns::ServiceStatus::RESPONSE_STATUS
Instance Attribute Summary collapse
-
#claim_id ⇒ Integer
The lookup id for the claim returned by EVSS.
-
#end_product_claim_code ⇒ Integer
The code for the form e.g.
-
#end_product_claim_name ⇒ Integer
The name of the form e.g.
-
#inflight_document_id ⇒ Integer
The inflight id.
Attributes inherited from Common::Base
Instance Method Summary collapse
-
#initialize(status, response = nil) ⇒ FormSubmitResponse
constructor
A new instance of FormSubmitResponse.
Methods inherited from Response
#cache?, #metadata, #ok?, #response_status
Methods inherited from Common::Base
#changed, #changed?, #changes, default_sort, filterable_attributes, max_per_page, per_page, sortable_attributes
Constructor Details
#initialize(status, response = nil) ⇒ FormSubmitResponse
Returns a new instance of FormSubmitResponse.
26 27 28 |
# File 'lib/evss/disability_compensation_form/form_submit_response.rb', line 26 def initialize(status, response = nil) super(status, response.body) if response end |
Instance Attribute Details
#claim_id ⇒ Integer
Returns The lookup id for the claim returned by EVSS.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/evss/disability_compensation_form/form_submit_response.rb', line 20 class FormSubmitResponse < EVSS::Response attribute :claim_id, Integer attribute :inflight_document_id, Integer attribute :end_product_claim_code, String attribute :end_product_claim_name, String def initialize(status, response = nil) super(status, response.body) if response end end |
#end_product_claim_code ⇒ Integer
Returns The code for the form e.g. ‘020SUPP’.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/evss/disability_compensation_form/form_submit_response.rb', line 20 class FormSubmitResponse < EVSS::Response attribute :claim_id, Integer attribute :inflight_document_id, Integer attribute :end_product_claim_code, String attribute :end_product_claim_name, String def initialize(status, response = nil) super(status, response.body) if response end end |
#end_product_claim_name ⇒ Integer
Returns The name of the form e.g. ‘eBenefits 526EZ-Supplemental (020)’.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/evss/disability_compensation_form/form_submit_response.rb', line 20 class FormSubmitResponse < EVSS::Response attribute :claim_id, Integer attribute :inflight_document_id, Integer attribute :end_product_claim_code, String attribute :end_product_claim_name, String def initialize(status, response = nil) super(status, response.body) if response end end |
#inflight_document_id ⇒ Integer
Returns The inflight id.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/evss/disability_compensation_form/form_submit_response.rb', line 20 class FormSubmitResponse < EVSS::Response attribute :claim_id, Integer attribute :inflight_document_id, Integer attribute :end_product_claim_code, String attribute :end_product_claim_name, String def initialize(status, response = nil) super(status, response.body) if response end end |