Class: EVSS::PPIU::PaymentInformationResponse
- Inherits:
-
Response
- Object
- Common::Base
- Response
- EVSS::PPIU::PaymentInformationResponse
- Defined in:
- lib/evss/ppiu/payment_information_response.rb
Overview
Model for payment information responses.
Constant Summary
Constants included from Common::Client::Concerns::ServiceStatus
Common::Client::Concerns::ServiceStatus::RESPONSE_STATUS
Instance Attribute Summary collapse
-
#responses ⇒ Array[EVSS::PPIU::PaymentInformation]
An array of payment information objects.
Attributes inherited from Common::Base
Instance Method Summary collapse
-
#initialize(status, response = nil) ⇒ PaymentInformationResponse
constructor
A new instance of PaymentInformationResponse.
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) ⇒ PaymentInformationResponse
Returns a new instance of PaymentInformationResponse.
20 21 22 |
# File 'lib/evss/ppiu/payment_information_response.rb', line 20 def initialize(status, response = nil) super(status, response.body) if response end |
Instance Attribute Details
#responses ⇒ Array[EVSS::PPIU::PaymentInformation]
Returns An array of payment information objects.
17 18 19 20 21 22 23 |
# File 'lib/evss/ppiu/payment_information_response.rb', line 17 class PaymentInformationResponse < EVSS::Response attribute :responses, Array[EVSS::PPIU::PaymentInformation] def initialize(status, response = nil) super(status, response.body) if response end end |