Class: Pbx::Messages::AmiError

Inherits:
Bubbletea::Message
  • Object
show all
Defined in:
lib/pbx/messages.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject (readonly)

Returns the value of attribute error.



51
52
53
# File 'lib/pbx/messages.rb', line 51

def error
  @error
end