Class: Openfire::SessionsCount

Inherits:
Object
  • Object
show all
Defined in:
lib/openfire/sessions_count.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ SessionsCount

Returns a new instance of SessionsCount.



5
6
7
8
9
# File 'lib/openfire/sessions_count.rb', line 5

def initialize(attributes={})
  attributes.each do |k,v|
    self.send("#{to_underscore(k)}=", v)
  end
end

Instance Attribute Details

#cluster_sessionsObject

Returns the value of attribute cluster_sessions.



3
4
5
# File 'lib/openfire/sessions_count.rb', line 3

def cluster_sessions
  @cluster_sessions
end

#local_sessionsObject

Returns the value of attribute local_sessions.



3
4
5
# File 'lib/openfire/sessions_count.rb', line 3

def local_sessions
  @local_sessions
end