Method: ESortCode::Response::ValidateCreditCard#card_type
- Defined in:
- lib/esortcode/response/validate_credit_card.rb
#card_type ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/esortcode/response/validate_credit_card.rb', line 4 def card_type unless @card_type t = @xml.get_text('ValidationCC/CardType') @card_type = t && t.to_s end @card_type end |