Class: Zaala::API::VerifyResponse
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Zaala::API::VerifyResponse
- Defined in:
- lib/zaala/api/types.rb
Overview
The class VerifyResponse represents the response of the Verify service call.
Class Method Summary collapse
Class Method Details
.from_message(h) ⇒ Object
821 822 823 824 825 826 827 828 |
# File 'lib/zaala/api/types.rb', line 821 def self.(h) VerifyResponse.new({ identifier: Zaala::API::ResponseIdentifier.(h[:identifier]), decision: Zaala::API::Decision.(h[:decision]), installment_plan: h[:installmentPlan] ? Zaala::API::InstallmentPlan.(h[:installmentPlan]) : nil, info: h[:info] ? Zaala::API::Info.(h[:info]) : nil, }) end |