Sha256: 3c9e4581a8d3d1e124f1c6911db4b808bf5deb40bfb3345477a0ce8d4822944b

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 # Use Asterisk
  # 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.beta1 lib/adhearsion/generators/app/templates/config/adhearsion.rb
adhearsion-2.0.0.alpha3 lib/adhearsion/generators/app/templates/config/adhearsion.rb