Sha256: 430c129cfde97fef96f1ed2cb37212afd5aa2bf9f0893de462b349c97e81dba3

Contents?: true

Size: 392 Bytes

Versions: 93

Compression:

Stored size: 392 Bytes

Contents

module Piggybak
  class PaymentCalculator::Fake
    KEYS = []
    KLASS = ::Piggybak::PaymentCalculator::Fake

    def self.new(*args)
      return self
    end

    def self.authorize(*args)
      self
    end

    def self.success?
      true
    end

    def self.authorization
    end

    def self.capture(*args)
    end

    def self.transaction_id(*args)
      "N/A"
    end
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
piggybak-0.6.22 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.21 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.20 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.19 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.18 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.17 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.16 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.15 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.13 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.12 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.11 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.10 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.9 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.8 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.7 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.6 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.5 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.4 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.3 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.2 app/models/piggybak/payment_calculator/fake.rb