Class: ModSpox::Messages::Internal::TimerRemove
- Inherits:
-
Object
- Object
- ModSpox::Messages::Internal::TimerRemove
- Defined in:
- lib/mod_spox/messages/internal/TimerRemove.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
action to remove.
-
#ident ⇒ Object
readonly
message identification.
Instance Method Summary collapse
-
#id ⇒ Object
Message ID.
-
#initialize(action) ⇒ TimerRemove
constructor
- action
-
action to remove from timer Remove action from timer.
Constructor Details
#initialize(action) ⇒ TimerRemove
- action
-
action to remove from timer
Remove action from timer
11 12 13 14 |
# File 'lib/mod_spox/messages/internal/TimerRemove.rb', line 11 def initialize(action) @action = action @ident = rand(99999999) end |
Instance Attribute Details
#action ⇒ Object (readonly)
action to remove
6 7 8 |
# File 'lib/mod_spox/messages/internal/TimerRemove.rb', line 6 def action @action end |
#ident ⇒ Object (readonly)
message identification
8 9 10 |
# File 'lib/mod_spox/messages/internal/TimerRemove.rb', line 8 def ident @ident end |
Instance Method Details
#id ⇒ Object
Message ID
17 18 19 |
# File 'lib/mod_spox/messages/internal/TimerRemove.rb', line 17 def id @ident end |