Sha256: 7bfbb8c41f1492c8c056a78db36f5d9907b392639239d6f9de2ca6a8693a430e

Contents?: true

Size: 287 Bytes

Versions: 14

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Concerns
    #
    # Database connectable concern
    #
    module DatabaseConnectable
      extend ActiveSupport::Concern

      def with_db_connection(&block)
        Database.with_db_connection(&block)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mihari-7.3.2 lib/mihari/concerns/database_connectable.rb
mihari-7.3.1 lib/mihari/concerns/database_connectable.rb
mihari-7.3.0 lib/mihari/concerns/database_connectable.rb
mihari-7.2.0 lib/mihari/concerns/database_connectable.rb
mihari-7.1.3 lib/mihari/concerns/database_connectable.rb
mihari-7.1.2 lib/mihari/concerns/database_connectable.rb
mihari-7.1.1 lib/mihari/concerns/database_connectable.rb
mihari-7.1.0 lib/mihari/concerns/database_connectable.rb
mihari-7.0.5 lib/mihari/concerns/database_connectable.rb
mihari-7.0.4 lib/mihari/concerns/database_connectable.rb
mihari-7.0.3 lib/mihari/concerns/database_connectable.rb
mihari-7.0.2 lib/mihari/concerns/database_connectable.rb
mihari-7.0.1 lib/mihari/concerns/database_connectable.rb
mihari-7.0.0 lib/mihari/concerns/database_connectable.rb