Sha256: 326724d4542865a08b9e9a17e2e2586ff91c13aca1f1dbaa83057b4b516aadbc

Contents?: true

Size: 423 Bytes

Versions: 68

Compression:

Stored size: 423 Bytes

Contents

module Pay
  module FakeProcessor
    class PaymentMethod
      attr_reader :pay_payment_method

      delegate :customer, :processor_id, to: :pay_payment_method

      def initialize(pay_payment_method)
        @pay_payment_method = pay_payment_method
      end

      # Sets payment method as default on Stripe
      def make_default!
      end

      # Remove payment method
      def detach
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
pay-7.3.0 lib/pay/fake_processor/payment_method.rb
pay-7.2.1 lib/pay/fake_processor/payment_method.rb
pay-7.1.1 lib/pay/fake_processor/payment_method.rb
pay-7.1.0 lib/pay/fake_processor/payment_method.rb
pay-7.0.0 lib/pay/fake_processor/payment_method.rb
pay-6.8.1 lib/pay/fake_processor/payment_method.rb
pay-6.8.0 lib/pay/fake_processor/payment_method.rb
pay-6.7.2 lib/pay/fake_processor/payment_method.rb
pay-6.7.1 lib/pay/fake_processor/payment_method.rb
pay-6.7.0 lib/pay/fake_processor/payment_method.rb
pay-6.6.1 lib/pay/fake_processor/payment_method.rb
pay-6.6.0 lib/pay/fake_processor/payment_method.rb
pay-6.5.0 lib/pay/fake_processor/payment_method.rb
pay-6.4.0 lib/pay/fake_processor/payment_method.rb
pay-6.3.4 lib/pay/fake_processor/payment_method.rb
pay-6.3.3 lib/pay/fake_processor/payment_method.rb
pay-6.3.2 lib/pay/fake_processor/payment_method.rb
pay-6.3.1 lib/pay/fake_processor/payment_method.rb
pay-6.3.0 lib/pay/fake_processor/payment_method.rb
pay-6.2.4 lib/pay/fake_processor/payment_method.rb