Class: AgentXmpp::RosterItemModel
- Inherits:
-
Object
- Object
- AgentXmpp::RosterItemModel
- Defined in:
- lib/agent_xmpp/client/roster_model.rb
Overview
Instance Attribute Summary collapse
-
#groups ⇒ Object
readonly
.….….….….….….….….….….….….….….….….….….….….….….….….….….
-
#jid ⇒ Object
readonly
.….….….….….….….….….….….….….….….….….….….….….….….….….….
-
#priority ⇒ Object
readonly
.….….….….….….….….….….….….….….….….….….….….….….….….….….
-
#status ⇒ Object
readonly
.….….….….….….….….….….….….….….….….….….….….….….….….….….
Instance Method Summary collapse
-
#initialize(item) ⇒ RosterItemModel
constructor
.….….….….….….….….….….….….….….….….….….….….….….….….….….
Constructor Details
#initialize(item) ⇒ RosterItemModel
.….….….….….….….….….….….….….….….….….….….….….….….….….….
128 129 130 131 132 133 |
# File 'lib/agent_xmpp/client/roster_model.rb', line 128 def initialize(item) @status = item[:status] @groups = item[:groups] @jid = item[:jid] @priority = item[:priority] end |
Instance Attribute Details
#groups ⇒ Object (readonly)
.….….….….….….….….….….….….….….….….….….….….….….….….….….
125 126 127 |
# File 'lib/agent_xmpp/client/roster_model.rb', line 125 def groups @groups end |
#jid ⇒ Object (readonly)
.….….….….….….….….….….….….….….….….….….….….….….….….….….
125 126 127 |
# File 'lib/agent_xmpp/client/roster_model.rb', line 125 def jid @jid end |
#priority ⇒ Object (readonly)
.….….….….….….….….….….….….….….….….….….….….….….….….….….
125 126 127 |
# File 'lib/agent_xmpp/client/roster_model.rb', line 125 def priority @priority end |
#status ⇒ Object (readonly)
.….….….….….….….….….….….….….….….….….….….….….….….….….….
125 126 127 |
# File 'lib/agent_xmpp/client/roster_model.rb', line 125 def status @status end |