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.



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

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

Instance Attribute Details

#dateObject (readonly)

date server was created



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

def date
  @date
end