Class: QMsg::QQMessage
- Inherits:
-
Struct
- Object
- Struct
- QMsg::QQMessage
- Defined in:
- lib/qmessage.rb,
lib/qmessage.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#time ⇒ Object
Returns the value of attribute time.
-
#u_code ⇒ Object
Returns the value of attribute u_code.
-
#u_name ⇒ Object
Returns the value of attribute u_name.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
5 6 7 |
# File 'lib/qmessage.rb', line 5 def @message end |
#time ⇒ Object
Returns the value of attribute time
5 6 7 |
# File 'lib/qmessage.rb', line 5 def time @time end |
#u_code ⇒ Object
Returns the value of attribute u_code
5 6 7 |
# File 'lib/qmessage.rb', line 5 def u_code @u_code end |
#u_name ⇒ Object
Returns the value of attribute u_name
5 6 7 |
# File 'lib/qmessage.rb', line 5 def u_name @u_name end |
Instance Method Details
#to_json(num) ⇒ Object
8 9 10 |
# File 'lib/qmessage.rb', line 8 def to_json(num) self.to_h.to_json(num) end |