aboutsummaryrefslogtreecommitdiff
path: root/src/guff/model.cr
blob: 370229cdd775c1b754fb29ff988befa4eebbdcda (plain)
1
2
3
4
5
6
7
8
9
10
11
module Guff
  class Model
    getter :db

    def initialize(@config : Config)
      # create site database
      db_path = "%s/site.db" % [config["data"]]
      @db = Database.new(db_path)
    end
  end
end