Class: IGeTui::Message
- Inherits:
-
Object
- Object
- IGeTui::Message
- Defined in:
- lib/igetui/message.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#is_offline ⇒ Object
Returns the value of attribute is_offline.
-
#offline_expire_time ⇒ Object
Returns the value of attribute offline_expire_time.
Instance Method Summary collapse
-
#initialize ⇒ Message
constructor
A new instance of Message.
Constructor Details
#initialize ⇒ Message
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
#data ⇒ Object
Returns the value of attribute data.
3 4 5 |
# File 'lib/igetui/message.rb', line 3 def data @data end |
#is_offline ⇒ Object
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_time ⇒ Object
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 |