Skip to content

Commit

Permalink
Merge pull request #2 from dougdiego/master
Browse files Browse the repository at this point in the history
Making the credit card values public so I can retrieve them
  • Loading branch information
mats-claassen authored Apr 24, 2017
2 parents 5c34ca7 + 64c56a8 commit cd63484
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Sources/CreditCardCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ import Eureka
* Struct holding the value for a CreditCardRow
*/
public struct CreditCardInfo : Equatable {
var creditCardNumber : String?
var expiration : String?
var cvv : String?
public var creditCardNumber : String?
public var expiration : String?
public var cvv : String?

public init() { }
}

public func ==(lhs: CreditCardInfo, rhs: CreditCardInfo) -> Bool {
Expand Down

0 comments on commit cd63484

Please sign in to comment.