Class: XmppServer::M

Inherits:
Object
  • Object
show all
Defined in:
lib/xmpp_server/queue.rb

Overview

message node

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject

Returns the value of attribute content.



9
10
11
# File 'lib/xmpp_server/queue.rb', line 9

def content
  @content
end

#usernameObject

Returns the value of attribute username.



9
10
11
# File 'lib/xmpp_server/queue.rb', line 9

def username
  @username
end