Class: Cielo::Token

Inherits:
Object
  • Object
show all
Defined in:
lib/cielo/ws15/token.rb

Overview

Dados do token do cartão

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

Código do token para ser utilizado em outras transações

Returns:

  • (String)

    the current value of code



7
8
9
# File 'lib/cielo/ws15/token.rb', line 7

def code
  @code
end

#numberObject

Returns the value of attribute number.



8
9
10
# File 'lib/cielo/ws15/token.rb', line 8

def number
  @number
end

#NúmeroString

do cartão truncado

Returns:

  • (String)

    the current value of Número



7
8
9
# File 'lib/cielo/ws15/token.rb', line 7

def N

#statusNumber

Status do token

Returns:

  • (Number)

    the current value of status



7
8
9
# File 'lib/cielo/ws15/token.rb', line 7

def status
  @status
end