module Sequel::Plugins::HashId::InstanceMethods

Public Instance Methods

hashid() click to toggle source

The hashid of the model instance

# File lib/sequel/plugins/hash_id.rb, line 39
def hashid
  model.hasher.encode(id) if id
end