Sha256: 6402df2ab50e8bac7bc778775279e410db5e34135430e2d45425e89f1be27d3a

Contents?: true

Size: 287 Bytes

Versions: 24

Compression:

Stored size: 287 Bytes

Contents

# encoding: utf-8

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
punchblock-2.0.1 lib/punchblock/command/redirect.rb
punchblock-2.0.0 lib/punchblock/command/redirect.rb
punchblock-2.0.0.beta2 lib/punchblock/command/redirect.rb
punchblock-2.0.0.beta1 lib/punchblock/command/redirect.rb