Class: OfxParser::Status
- Inherits:
-
Object
- Object
- OfxParser::Status
- Defined in:
- lib/ofx_parser/ofx.rb
Overview
Status of a sign on
Constant Summary collapse
- CODES =
{ '0' => 'Success', '2000' => 'General error', '15000' => 'Must change USERPASS', '15500' => 'Signon invalid', '15501' => 'Customer account already in use', '15502' => 'USERPASS Lockout' }
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
102 103 104 |
# File 'lib/ofx_parser/ofx.rb', line 102 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
102 103 104 |
# File 'lib/ofx_parser/ofx.rb', line 102 def @message end |
#severity ⇒ Object
Returns the value of attribute severity.
102 103 104 |
# File 'lib/ofx_parser/ofx.rb', line 102 def severity @severity end |
Instance Method Details
#code_desc ⇒ Object
113 114 115 |
# File 'lib/ofx_parser/ofx.rb', line 113 def code_desc CODES[code] end |