Public: Determines CC type.
number - String
Return String of CC type (Visa, MC). if not found “Unknown”
24 25 26
# File 'lib/ccheck.rb', line 24 def type number Card.new(number).type end