Sha256: c3bec422b9628cdbc05da812ae2aaf9d1a9b503b4242085cca9beb8ba073d8b7

Contents?: true

Size: 291 Bytes

Versions: 24

Compression:

Stored size: 291 Bytes

Contents

module Punchblock
  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

24 entries across 24 versions & 1 rubygems

Version Path
punchblock-2.7.5 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.7.3 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.7.2 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.7.1 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.7.0 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.6.0 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.5.3 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.5.2 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.5.1 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.5.0 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.4.2 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.4.0 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.3.1 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.3.0 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.2.2 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.2.1 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.2.0 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.1.1 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.1.0 lib/punchblock/translator/asterisk/agi_app.rb
punchblock-2.0.2 lib/punchblock/translator/asterisk/agi_app.rb