Class: BitlbeeConfig::Accounts::Gtalk
- Inherits:
-
Jabber
- Object
- BitlbeeConfig::Account
- Jabber
- BitlbeeConfig::Accounts::Gtalk
- Defined in:
- lib/bitlbee_config/accounts/gtalk.rb
Constant Summary collapse
- DEFAULT_GTALK_SERVER =
"talk.google.com"
Instance Attribute Summary
Attributes inherited from BitlbeeConfig::Account
#autoconnect, #cleartext_password, #handle, #password, #protocol, #server, #settings, #tag, #user
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Gtalk
constructor
A new instance of Gtalk.
Methods inherited from BitlbeeConfig::Account
#build_xml, create_new_account, from_xml, #id, #regenerate_password_if_needed
Methods included from XmlBuildable
Constructor Details
#initialize(options = {}) ⇒ Gtalk
Returns a new instance of Gtalk.
6 7 8 9 10 11 12 13 14 |
# File 'lib/bitlbee_config/accounts/gtalk.rb', line 6 def initialize( = {}) # unlike facebook, we don't give support password authentication here, only oauth super({ tag: "gtalk", nick_format: "%full_name", server: DEFAULT_GTALK_SERVER, oauth: "on", cleartext_password: "" }.merge()) end |