Class: Pbx::Messages::ConnectionLost

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason:) ⇒ ConnectionLost

Returns a new instance of ConnectionLost.



44
45
46
47
# File 'lib/pbx/messages.rb', line 44

def initialize(reason:)
  super()
  @reason = reason
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



42
43
44
# File 'lib/pbx/messages.rb', line 42

def reason
  @reason
end