aboutsummaryrefslogtreecommitdiff
path: root/lib/some/database.rb
blob: 5595a41ef8b6adde393a2d78c4f97247bf7f3799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Some
  class Database
    attr_reader :db

    def initialize(path:)
      @db = ::Notmuch::Database.new(path)
    end

    def query(query)
      db.query(query)
    end
  end
end