Exception: Ant::Exceptions::AntSuccess
- Inherits:
-
AntBaseException
- Object
- StandardError
- AntBaseException
- Ant::Exceptions::AntSuccess
- Defined in:
- lib/ant/exceptions.rb
Overview
Is used to express a success with the client’s request.
Instance Attribute Summary
Attributes inherited from AntBaseException
Instance Method Summary collapse
-
#initialize(message, code = nil, data = {}) ⇒ AntSuccess
constructor
A new instance of AntSuccess.
Methods inherited from AntBaseException
Constructor Details
#initialize(message, code = nil, data = {}) ⇒ AntSuccess
Returns a new instance of AntSuccess.
43 44 45 46 |
# File 'lib/ant/exceptions.rb', line 43 def initialize(, code = nil, data = {}) code ||= self.class.name.split('::').last super(, code, data) end |