Sha256: 361fde34c0e5d2f716ce8cf05c119c0137213232261e95eb9aa4a75d43826382

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

require 'rubygems'
require 'eventmachine'
require 'active_support'

require 'larynx/version'
require 'larynx/logger'
require 'larynx/server'
require 'larynx/observable'
require 'larynx/callbacks'
require 'larynx/callbacks_with_async'
require 'larynx/session'
require 'larynx/response'
require 'larynx/command'
require 'larynx/commands'
require 'larynx/prompt'
require 'larynx/application'
require 'larynx/field'
require 'larynx/form'
require 'larynx/restartable_timer'
require 'larynx/call_handler'

module Larynx
  class << self
    include Callbacks
    define_callback :connect, :answer, :hungup
  end

  # Default connect callback is to answer call
  connect {|call| call.answer }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
larynx-0.1.6 lib/larynx.rb