Class: Cieloz::Requisicao::Transacao
- Defined in:
- lib/cieloz/requisicao/resposta/transacao.rb
Constant Summary collapse
- STATUSES =
{ "0" => :criada, "1" => :em_andamento, "2" => :autenticada, "3" => :nao_autenticada, "4" => :autorizada, "5" => :nao_autorizada, "6" => :capturada, "9" => :cancelada, "10" => :em_autenticacao, "12" => :em_cancelamento }
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
-
#tid ⇒ Object
Returns the value of attribute tid.
-
#url_autenticacao ⇒ Object
Returns the value of attribute url_autenticacao.
Attributes inherited from Resposta
Instance Method Summary collapse
Methods inherited from Resposta
Methods included from Helpers
#attributes=, #dasherize_attr, included, #initialize
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/cieloz/requisicao/resposta/transacao.rb', line 4 def status @status end |
#tid ⇒ Object
Returns the value of attribute tid.
4 5 6 |
# File 'lib/cieloz/requisicao/resposta/transacao.rb', line 4 def tid @tid end |
#url_autenticacao ⇒ Object
Returns the value of attribute url_autenticacao.
4 5 6 |
# File 'lib/cieloz/requisicao/resposta/transacao.rb', line 4 def url_autenticacao @url_autenticacao end |
Instance Method Details
#success? ⇒ Boolean
6 7 8 |
# File 'lib/cieloz/requisicao/resposta/transacao.rb', line 6 def success? true end |