Sha256: 1639f1a673d153ef1aa48672b064a31c0e0d4edd15f421168bd3cdb4950145f0
Contents?: true
Size: 444 Bytes
Versions: 6
Compression:
Stored size: 444 Bytes
Contents
class FakeBraintree::Registry def initialize clear! end attr_accessor :customers,:subscriptions, :failures, :transactions, :redirects, :credit_cards, :addresses def clear! @addresses = {} @customers = {} @subscriptions = {} @failures = {} @transactions = {} @redirects = {} @credit_cards = {} end def failure?(card_number) @failures.keys.include?(card_number) end end
Version data entries
6 entries across 6 versions & 1 rubygems