Class: PayPal::Recurring::Response::Refund

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/recurring/response/refund.rb

Instance Attribute Summary

Attributes inherited from Base

#response

Instance Method Summary collapse

Methods inherited from Base

#errors, #initialize, #params, #success?, #valid?

Methods included from Utils

#convert_to_time, #mapping

Constructor Details

This class inherits a constructor from PayPal::Recurring::Response::Base

Instance Method Details

#completed?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/paypal/recurring/response/refund.rb', line 17

def completed?
  params[:REFUNDSTATUS] == "instant"
end