diff --git a/SwiftLuhn/Classes/SwiftLuhn.swift b/SwiftLuhn/Classes/SwiftLuhn.swift index 3495f8a..1a5ef1c 100644 --- a/SwiftLuhn/Classes/SwiftLuhn.swift +++ b/SwiftLuhn/Classes/SwiftLuhn.swift @@ -113,7 +113,7 @@ open class SwiftLuhn { } } - class func cardType(for cardNumber: String, suggest: Bool = false) throws -> CardType { + public class func cardType(for cardNumber: String, suggest: Bool = false) throws -> CardType { var foundCardType: CardType? for i in CardType.amex.rawValue...CardType.jcb.rawValue {