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.
Constructor Details
#initialize(message, code = nil, data = {}) ⇒ AntSuccess
Returns a new instance of AntSuccess.
27 28 29 30 |
# File 'lib/ant/exceptions.rb', line 27 def initialize(, code = nil, data = {}) code ||= self.class.name.split('::').last super(, code, data) end |