Class: AppEngine::XMPP::Presence
- Inherits:
-
Object
- Object
- AppEngine::XMPP::Presence
- Defined in:
- lib/appengine-apis/xmpp.rb
Overview
Represents presence information returned by the server.
Instance Method Summary collapse
- #available? ⇒ Boolean
-
#initialize(available) ⇒ Presence
constructor
A new instance of Presence.
Constructor Details
#initialize(available) ⇒ Presence
Returns a new instance of Presence.
52 53 54 |
# File 'lib/appengine-apis/xmpp.rb', line 52 def initialize(available) @available = available end |
Instance Method Details
#available? ⇒ Boolean
56 57 58 |
# File 'lib/appengine-apis/xmpp.rb', line 56 def available? @available end |