Sha256: 93fbcc87c598ef87b98b7c069313f5fcce591445f332926e1e7a28efd8579e7d

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

module MigrationTimeouts
  class << self
    def configure
      yield config
    end

    def config
      @config ||= Configurator.new
    end
  end

  class Configurator
    attr_accessor :default_lock_timeout, :default_statement_timeout
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
migration_timeouts-0.0.1 lib/migration_timeouts/config.rb