Skip to content

Commit

Permalink
Refactored finance.rb (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
jremes-foss authored and stympy committed Dec 19, 2016
1 parent 9eeca54 commit db1a8ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/faker/finance.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module Faker
class Finance < Base
CREDIT_CARD_TYPES = [ :visa, :mastercard, :discover, :american_express, :diners_club, :jcb, :switch, :solo, :dankort, :maestro, :forbrugsforeningen, :laser ]
CREDIT_CARD_TYPES = [:visa, :mastercard, :discover, :american_express,
:diners_club, :jcb, :switch, :solo, :dankort,
:maestro, :forbrugsforeningen, :laser].freeze

class << self
def credit_card(*types)
Expand Down

0 comments on commit db1a8ad

Please sign in to comment.