Class: ModSpox::Messages::Incoming::Created

Inherits:
Message
  • Object
show all
Defined in:
lib/mod_spox/messages/incoming/Created.rb

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

Constructor Details

#initialize(raw, date) ⇒ Created

Returns a new instance of Created.



8
9
10
11
# File 'lib/mod_spox/messages/incoming/Created.rb', line 8

def initialize(raw, date)
    super(raw)
    @date = date
end

Instance Attribute Details

#dateObject (readonly)

date server was created



7
8
9
# File 'lib/mod_spox/messages/incoming/Created.rb', line 7

def date
  @date
end