Class: Cieloz::Requisicao::Erro
- Defined in:
- lib/cieloz/requisicao/resposta/erro.rb
Instance Attribute Summary collapse
-
#codigo ⇒ Object
Returns the value of attribute codigo.
-
#mensagem ⇒ Object
Returns the value of attribute mensagem.
Attributes inherited from Resposta
Instance Method Summary collapse
Methods inherited from Resposta
Methods included from Helpers
#attributes=, included, #initialize
Instance Attribute Details
#codigo ⇒ Object
Returns the value of attribute codigo.
4 5 6 |
# File 'lib/cieloz/requisicao/resposta/erro.rb', line 4 def codigo @codigo end |
#mensagem ⇒ Object
Returns the value of attribute mensagem.
4 5 6 |
# File 'lib/cieloz/requisicao/resposta/erro.rb', line 4 def mensagem @mensagem end |
Instance Method Details
#status ⇒ Object
10 11 12 |
# File 'lib/cieloz/requisicao/resposta/erro.rb', line 10 def status codigo end |
#success? ⇒ Boolean
6 7 8 |
# File 'lib/cieloz/requisicao/resposta/erro.rb', line 6 def success? false end |