aboutsummaryrefslogtreecommitdiff
path: root/src/guff/handler.cr
blob: ce225ebd6e76d5460087440cf1a7ac11fd1e3494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require "http/server"

module Guff
  class Handler < ::HTTP::Handler
    getter :model

    def initialize(@models : Models)
    end

    def call(context : HTTP::Server::Context)
      # do nothing by default
      call_next(context)
    end
  end
end