Sha256: 1d546b0da47eec931be6a2ed8c4d3cac70087be92880afcfdfe377fcb4f6857d

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

# Centralized way to overwrite any Adhearsion platform or plugin configuration
# - Execute rake adhearsion:config:desc to get the configuration options
# - Execute rake adhearsion:config:show to get the configuration values
#
# To update a plugin configuration you can write either:
#
#    * Option 1
#        Adhearsion.config.<plugin-name> do |config|
#          config.<key> = <value>
#        end
#
#    * Option 2
#        Adhearsion.config do |config|
#          config.<plugin-name>.<key> = <value>
#        end

Adhearsion.config do |config|

  config.development do |dev|
    dev.platform.logging.level = :debug
  end

  ##
  # Use with Voxeo PRISM or other Rayo installation
  #
  # config.punchblock.username = "" # Your XMPP JID for use with Rayo
  # config.punchblock.password = "" # Your XMPP password

  ##
  # Use with Asterisk
  #
  # config.punchblock.platform = :asterisk # Your AMI username
  # config.punchblock.username = "" # Your AMI username
  # config.punchblock.password = "" # Your AMI password
  # config.punchblock.host = "127.0.0.1" # Your AMI host
  # config.punchblock.port = 5038 # Your AMI port
end

Adhearsion.router do
  route 'default', SimonGame
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adhearsion-2.0.0.alpha2 lib/adhearsion/generators/app/templates/config/adhearsion.rb
adhearsion-2.0.0.alpha1 lib/adhearsion/generators/app/templates/config/adhearsion.rb