Class: MatrixSdk::ErrorEvent
- Defined in:
- lib/matrix_sdk/util/events.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(error, source) ⇒ ErrorEvent
constructor
A new instance of ErrorEvent.
- #source ⇒ Object
Methods inherited from Event
Methods included from Extensions
Constructor Details
#initialize(error, source) ⇒ ErrorEvent
Returns a new instance of ErrorEvent.
60 61 62 63 |
# File 'lib/matrix_sdk/util/events.rb', line 60 def initialize(error, source) @error = error super source end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
58 59 60 |
# File 'lib/matrix_sdk/util/events.rb', line 58 def error @error end |
Instance Method Details
#source ⇒ Object
65 66 67 |
# File 'lib/matrix_sdk/util/events.rb', line 65 def source @sender end |