Class: IGeTui::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/igetui/message.rb

Direct Known Subclasses

AppMessage

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMessage

Returns a new instance of Message.



5
6
7
8
9
# File 'lib/igetui/message.rb', line 5

def initialize
  @is_offline = true
  @offline_expire_time = 1000 * 3600 * 12
  @data = BaseTemplate.new
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



3
4
5
# File 'lib/igetui/message.rb', line 3

def data
  @data
end

#is_offlineObject

Returns the value of attribute is_offline.



3
4
5
# File 'lib/igetui/message.rb', line 3

def is_offline
  @is_offline
end

#offline_expire_timeObject

Returns the value of attribute offline_expire_time.



3
4
5
# File 'lib/igetui/message.rb', line 3

def offline_expire_time
  @offline_expire_time
end