Class: Credigy::InstallmentResponse
- Defined in:
- lib/credigy/installment_response.rb
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
#body, #initialize, #root_key, #sub_root_key
Constructor Details
This class inherits a constructor from Credigy::Response
Instance Method Details
#all ⇒ Object
7 8 9 10 11 |
# File 'lib/credigy/installment_response.rb', line 7 def all raise(InstallmentNotAvailable, body) if installment_not_available? body[:installments][:installment] end |