Sha256: 4a5f7e4d1eecc0bd0340e650903266ad32b9313c223f5c23cfdb509b34840fec

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

# encoding: utf-8

require 'adhearsion/rayo/command_node'
require 'adhearsion/has_headers'

module Adhearsion
  module Rayo
    module Command
      class Redirect < CommandNode
        register :redirect, :core

        include HasHeaders

        # @return [String] the redirect target
        attribute :to

        def rayo_attributes
          {'to' => to}
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adhearsion-3.0.0.rc1 lib/adhearsion/rayo/command/redirect.rb
adhearsion-3.0.0.beta2 lib/adhearsion/rayo/command/redirect.rb
adhearsion-3.0.0.beta1 lib/adhearsion/rayo/command/redirect.rb