Sha256: 490d0d215d637baed9547fa525cbb337e4cc831823a10c5deffb96cad3841fa9

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require_relative 'uniq_identifier/railtie' if defined?(Rails)
require_relative 'uniq_identifier/hook'
require_relative 'uniq_identifier/configure'
require_relative 'uniq_identifier/fake_generator'

module UniqIdentifier
  extend Configure

  def uniq_identifier
    include Hook
    before_validation :set_uniq_identifier
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uniq_identifier-0.0.5 lib/uniq_identifier.rb