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.4.27 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.26 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.25 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.24 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.23 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.22 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.21 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.20 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.19 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.18 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.17 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.16 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.15 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.14 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.13 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.12 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.11 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.10 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.9 app/models/piggybak/payment_calculator/fake.rb
piggybak-0.4.8 app/models/piggybak/payment_calculator/fake.rb