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.7.7 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.7.6 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.7.5 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.34 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.7.4 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.7.3 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.7.2 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.7.1 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.7.0 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.33 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.32 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.31 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.30 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.29 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.28 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.27 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.26 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.25 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.24 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.6.23 app/models/piggybak/payment_calculator/fake.rb