Sha256: 5264005309e3db6bed1aa0dd5137a27a8c19821baa5d1917ac5604d602883db1

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

# encoding: utf-8

module Adhearsion
  module Translator
    class Asterisk
      class AGIApp
        def initialize(app, *args)
          @app, @args = app, args
        end

        def execute(call)
          call.execute_agi_command "EXEC #{@app}", @args.join(',')
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adhearsion-3.0.0.rc1 lib/adhearsion/translator/asterisk/agi_app.rb
adhearsion-3.0.0.beta2 lib/adhearsion/translator/asterisk/agi_app.rb
adhearsion-3.0.0.beta1 lib/adhearsion/translator/asterisk/agi_app.rb