Sha256: 1617ff14024ff3e197e4cdfaccb4ad387fa837ad3651395518f26b34b4461e7d

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

# encoding: utf-8

module Virginia
  class Plugin < Adhearsion::Plugin

    run :virginia do
      logger.info "Virginia has been loaded"
      Service.start
    end

    config :virginia do
      host "0.0.0.0", :desc => "IP to bind the listener to"
      port "8080", :desc => "The port to bind the listener to"
      rackup 'config.ru', desc: 'Rack configuration file (relative to Adhearsion application root)'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
virginia-0.4.0 lib/virginia/plugin.rb
virginia-0.3.0 lib/virginia/plugin.rb