Exception: IFSApiException
- Inherits:
-
StandardError
- Object
- StandardError
- IFSApiException
- Defined in:
- lib/ifsApiException.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
Instance Method Summary collapse
-
#initialize(message, code, detail) ⇒ IFSApiException
constructor
A new instance of IFSApiException.
Constructor Details
#initialize(message, code, detail) ⇒ IFSApiException
Returns a new instance of IFSApiException.
5 6 7 8 9 |
# File 'lib/ifsApiException.rb', line 5 def initialize(, code, detail) super() @code = code @detail = detail end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
2 3 4 |
# File 'lib/ifsApiException.rb', line 2 def code @code end |
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
3 4 5 |
# File 'lib/ifsApiException.rb', line 3 def detail @detail end |