Class: Aranha::Parsers::Ofx::Data::Status
- Inherits:
-
Object
- Object
- Aranha::Parsers::Ofx::Data::Status
- Defined in:
- lib/aranha/parsers/ofx/data/status.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' }.freeze
Instance Attribute Summary collapse
-
#code ⇒ Object
rubocop:disable Lint/DuplicateMethods.
-
#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
rubocop:disable Lint/DuplicateMethods
25 26 27 |
# File 'lib/aranha/parsers/ofx/data/status.rb', line 25 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
9 10 11 |
# File 'lib/aranha/parsers/ofx/data/status.rb', line 9 def @message end |
#severity ⇒ Object
Returns the value of attribute severity.
9 10 11 |
# File 'lib/aranha/parsers/ofx/data/status.rb', line 9 def severity @severity end |
Instance Method Details
#code_desc ⇒ Object
20 21 22 |
# File 'lib/aranha/parsers/ofx/data/status.rb', line 20 def code_desc CODES[code] end |