Exception: Resol::Service::Interruption
- Inherits:
-
StandardError
- Object
- StandardError
- Resol::Service::Interruption
- Defined in:
- lib/resol/service.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Interruption
constructor
A new instance of Interruption.
- #inspect ⇒ Object
- #message ⇒ Object
Constructor Details
#initialize(data) ⇒ Interruption
Returns a new instance of Interruption.
13 14 15 16 |
# File 'lib/resol/service.rb', line 13 def initialize(data) self.data = data super end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
11 12 13 |
# File 'lib/resol/service.rb', line 11 def data @data end |
Instance Method Details
#inspect ⇒ Object
18 19 20 |
# File 'lib/resol/service.rb', line 18 def inspect "#{self.class.name}: #{message}" end |
#message ⇒ Object
22 23 24 |
# File 'lib/resol/service.rb', line 22 def data.inspect end |