Sha256: 82d091c5d03788f61b4a4132170d2101474746acd44c60551da9b167f84e03d5

Contents?: true

Size: 486 Bytes

Versions: 9

Compression:

Stored size: 486 Bytes

Contents

module Deas

  class Runner

    attr_accessor :request, :response, :params, :logger, :session

    def initialize(handler_class)
      @handler_class = handler_class
      @handler = @handler_class.new(self)
    end

    def halt(*args)
      raise NotImplementedError
    end

    def render(*args)
      raise NotImplementedError
    end

    def redirect(*args)
      raise NotImplementedError
    end

    def redirect_to(*args)
      raise NotImplementedError
    end

  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
deas-0.7.0 lib/deas/runner.rb
deas-0.6.0 lib/deas/runner.rb
deas-0.5.0 lib/deas/runner.rb
deas-0.4.1 lib/deas/runner.rb
deas-0.4.0 lib/deas/runner.rb
deas-0.3.0 lib/deas/runner.rb
deas-0.2.1 lib/deas/runner.rb
deas-0.2.0 lib/deas/runner.rb
deas-0.1.0 lib/deas/runner.rb