Sha256: b5625d1d87496baf9cd69a680b798bad8640e0a46decc580e5c2a782923f130e

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

module Deas

  class Runner

    attr_reader :app_settings
    attr_reader :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

2 entries across 2 versions & 1 rubygems

Version Path
deas-0.9.0 lib/deas/runner.rb
deas-0.8.0 lib/deas/runner.rb