Class: Adhearsion::Configuration::XMPPConfiguration
- Inherits:
-
AbstractConfiguration
- Object
- AbstractConfiguration
- Adhearsion::Configuration::XMPPConfiguration
- Defined in:
- lib/adhearsion/initializer/configuration.rb
Instance Attribute Summary collapse
-
#jid ⇒ Object
Returns the value of attribute jid.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#server ⇒ Object
Returns the value of attribute server.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ XMPPConfiguration
constructor
A new instance of XMPPConfiguration.
Methods included from ConfigurationEntryPoint
Constructor Details
#initialize(options) ⇒ XMPPConfiguration
Returns a new instance of XMPPConfiguration.
284 285 286 287 288 289 290 |
# File 'lib/adhearsion/initializer/configuration.rb', line 284 def initialize() jid, password, server, port = @jid = jid @password = password @server = server @port = port end |
Instance Attribute Details
#jid ⇒ Object
Returns the value of attribute jid.
283 284 285 |
# File 'lib/adhearsion/initializer/configuration.rb', line 283 def jid @jid end |
#password ⇒ Object
Returns the value of attribute password.
283 284 285 |
# File 'lib/adhearsion/initializer/configuration.rb', line 283 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
283 284 285 |
# File 'lib/adhearsion/initializer/configuration.rb', line 283 def port @port end |
#server ⇒ Object
Returns the value of attribute server.
283 284 285 |
# File 'lib/adhearsion/initializer/configuration.rb', line 283 def server @server end |
Class Method Details
.default_port ⇒ Object
293 294 295 |
# File 'lib/adhearsion/initializer/configuration.rb', line 293 def default_port 5222 end |