Class: ModSpox::Messages::Internal::TimerRemove

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/internal/TimerRemove.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#actionObject (readonly)

action to remove



6
7
8
# File 'lib/mod_spox/messages/internal/TimerRemove.rb', line 6

def action
  @action
end

#identObject (readonly)

message identification



8
9
10
# File 'lib/mod_spox/messages/internal/TimerRemove.rb', line 8

def ident
  @ident
end

Instance Method Details

#idObject

Message ID



17
18
19
# File 'lib/mod_spox/messages/internal/TimerRemove.rb', line 17

def id
    @ident
end