Exception: IFSApiException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ifsApiException.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, code, detail)
  super(message)
  @code = code
  @detail = detail
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



2
3
4
# File 'lib/ifsApiException.rb', line 2

def code
  @code
end

#detailObject (readonly)

Returns the value of attribute detail.



3
4
5
# File 'lib/ifsApiException.rb', line 3

def detail
  @detail
end