Class: AppEngine::XMPP::Presence

Inherits:
Object
  • Object
show all
Defined in:
lib/appengine-apis/xmpp.rb

Overview

Represents presence information returned by the server.

Instance Method Summary collapse

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

Returns:

  • (Boolean)


56
57
58
# File 'lib/appengine-apis/xmpp.rb', line 56

def available?
  @available
end