class Credigy::InstallmentResponse
Public Instance Methods
all()
click to toggle source
# File lib/credigy/installment_response.rb, line 7 def all raise(InstallmentNotAvailable, body) if installment_not_available? body[:installments][:installment] end
Private Instance Methods
installment_not_available?()
click to toggle source
# File lib/credigy/installment_response.rb, line 15 def installment_not_available? body[:installments].nil? end