module HashIdentable::ClassMethods

Public Instance Methods

has_hashid(id) click to toggle source
# File lib/hash_identable/class_methods.rb, line 9
def has_hashid(id)
  klass = self.to_s
  return HashIdentable::lookup_table.store(id, klass)
end