Class: XmppServer::M
- Inherits:
-
Object
- Object
- XmppServer::M
- Defined in:
- lib/xmpp_server/queue.rb
Overview
message node
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, content) ⇒ M
constructor
A new instance of M.
Constructor Details
#initialize(username, content) ⇒ M
Returns a new instance of M.
11 12 13 14 |
# File 'lib/xmpp_server/queue.rb', line 11 def initialize(username, content) @username = username @content = content end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
9 10 11 |
# File 'lib/xmpp_server/queue.rb', line 9 def content @content end |
#username ⇒ Object
Returns the value of attribute username.
9 10 11 |
# File 'lib/xmpp_server/queue.rb', line 9 def username @username end |