Sha256: 8bb22551381e8a29ccdfc5ec7d8ee673d71dc8ae76c6de454c7cc684f23d2453

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

module Virginia
  class Plugin < Adhearsion::Plugin

    init :virginia do
      logger.warn "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"
      handler Virginia::LoggingHandler, :desc => "The object that will be handling the requests.  Must be a Reel:App."
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
virginia-0.2.1 lib/virginia/plugin.rb
virginia-0.2.0 lib/virginia/plugin.rb
virginia-0.1.0 lib/virginia/plugin.rb