Sha256: aacfe1becaecc4f13aa0b0c9d38e3fcb049647118f433f928dc5c08fba56e543

Contents?: true

Size: 844 Bytes

Versions: 3

Compression:

Stored size: 844 Bytes

Contents

SocialStream::Presence.setup do |config| 
  #Configures XMPP Server Domain
  config.domain = "localhost"
  #Configures Bosh Service Path
  #config.bosh_service = "http://xmpp-proxy/http-bind"
  #Configures Authentication Method: "cookie" or "password"
  config.auth_method = "cookie"
  #Configures XMPP Server Password
  config.xmpp_server_password = "password"
  #Remote or local mode
  config.remote_xmpp_server = false
  #False to disable Social Stream Presence
  #config.enable = false
  
  #Parameters for remote mode
  #Username of the the Social Stream Admin sid
  config.social_stream_presence_username = "social_stream-presence"
  #Configures Social Stream Rails App Password
  config.password = "password"
  
  #Parameters for local mode  
  #Scripts path to execute local ejabberd commands
  config.scripts_path = "/scripts_path"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-presence-0.0.17 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.0.16 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.0.15 lib/generators/social_stream/presence/templates/initializer.rb