Module: Sequel::Plugins::HashId::InstanceMethods
- Defined in:
- lib/sequel/plugins/hash_id.rb
Instance Method Summary collapse
-
#hashid ⇒ Object
The hashid of the model instance.
Instance Method Details
#hashid ⇒ Object
The hashid of the model instance
39 40 41 |
# File 'lib/sequel/plugins/hash_id.rb', line 39 def hashid model.hasher.encode(id) if id end |