Sha256: 83798ea8472bd1deae76481b621c3c725056d85566d1b5c4c1ad7a0096a5f065

Contents?: true

Size: 145 Bytes

Versions: 4

Compression:

Stored size: 145 Bytes

Contents

module HasToken
  module ActiveRecord
    def has_token(options = {})
      before_create HasToken::TokenGenerator.new(options)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
da-has_token-1.0.4 lib/da-has_token/active_record.rb
da-has_token-1.0.2 lib/da-has_token/active_record.rb
da-has_token-1.0.1 lib/da-has_token/active_record.rb
da-has_token-1.0.0 lib/has_token/active_record.rb