Exception: DoSnapshot::RequestActionError
- Inherits:
-
RequestError
- Object
- StandardError
- RequestError
- DoSnapshot::RequestActionError
- Defined in:
- lib/do_snapshot.rb
Overview
Base Exception for cases when we need id for log and/or something actions.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(*args) ⇒ RequestActionError
constructor
A new instance of RequestActionError.
Constructor Details
#initialize(*args) ⇒ RequestActionError
Returns a new instance of RequestActionError.
53 54 55 |
# File 'lib/do_snapshot.rb', line 53 def initialize(*args) @id = args[0] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
51 52 53 |
# File 'lib/do_snapshot.rb', line 51 def id @id end |