Sha256: 5d31fbda5dbd9d1bcd7eb5f621d528bb6c845570346b5661aff02a1e30311221

Contents?: true

Size: 354 Bytes

Versions: 68

Compression:

Stored size: 354 Bytes

Contents

module Paypal
  module Payment
    class Recurring::Summary < Base
      attr_optional :next_billing_date, :cycles_completed, :cycles_remaining, :outstanding_balance, :failed_count, :last_payment_date, :last_payment_amount

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

Version data entries

68 entries across 68 versions & 4 rubygems

Version Path
paypal-express-0.0.8 lib/paypal/payment/recurring/summary.rb
paypal-express-0.0.7 lib/paypal/payment/recurring/summary.rb
paypal-express-0.0.6 lib/paypal/payment/recurring/summary.rb
paypal-express-0.0.5 lib/paypal/payment/recurring/summary.rb
paypal-express-0.0.4 lib/paypal/payment/recurring/summary.rb
paypal-express-0.0.3 lib/paypal/payment/recurring/summary.rb
paypal-express-0.0.2 lib/paypal/payment/recurring/summary.rb
paypal-express-0.0.1 lib/paypal/payment/recurring/summary.rb