Class: PayPal::Recurring::Response::Details

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/recurring/response/details.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

#agreed?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/paypal/recurring/response/details.rb', line 20

def agreed?
  params[:BILLINGAGREEMENTACCEPTEDSTATUS] == "1"
end