# frozen_string_literal: true module ActiveRecord # = Active Record Obscured Id module ObscuredId # Holds configuration options for obscured id class Configuration attr_accessor :domain def initialize @domain = 'example.com' end end class << self attr_writer :config def config @config ||= Configuration.new end def configure yield(config) end end end end