Class: Paypal::Payment::Recurring::Summary

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/payment/recurring/summary.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Util

#==, formatted_amount, to_numeric

Constructor Details

This class inherits a constructor from Paypal::Base

Instance Method Details

#numeric_attribute?(key) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/paypal/payment/recurring/summary.rb', line 6

def numeric_attribute?(key)
  super || [:outstanding_balance, :failed_count].include?(key)
end