Sha256: 6d5695df67716fc4cd34081a68d7496a39dc62dad883d3418f487f501253b15d

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

# some test credit_card params
class CreditCard

  def self.sample_params
    {
      :name => "Santa Claus",
      :card_type => "visa",
      :number => "4111111111111111",
      :month => 10,
      :year => (Time.now + 3.years).year,
      :verification_value => 999
    }
  end

  def self.sample
    CreditCard.new(CreditCard.sample_params)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
freemium-ajb-0.0.4 spec/support/helpers.rb