Class: OfxParser::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/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

Instance Method Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



166
167
168
# File 'lib/ofx.rb', line 166

def code
  @code
end

#messageObject

Returns the value of attribute message.



166
167
168
# File 'lib/ofx.rb', line 166

def message
  @message
end

#severityObject

Returns the value of attribute severity.



166
167
168
# File 'lib/ofx.rb', line 166

def severity
  @severity
end

Instance Method Details

#code_descObject



177
178
179
# File 'lib/ofx.rb', line 177

def code_desc
  CODES[code]
end