Class: Pbx::Messages::AmiError
- Inherits:
-
Bubbletea::Message
- Object
- Bubbletea::Message
- Pbx::Messages::AmiError
- Defined in:
- lib/pbx/messages.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error:) ⇒ AmiError
constructor
A new instance of AmiError.
Constructor Details
#initialize(error:) ⇒ AmiError
Returns a new instance of AmiError.
53 54 55 56 |
# File 'lib/pbx/messages.rb', line 53 def initialize(error:) super() @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
51 52 53 |
# File 'lib/pbx/messages.rb', line 51 def error @error end |