Module: Sequel::Plugins::HashId::ClassMethods
- Defined in:
- lib/sequel/plugins/hash_id.rb
Instance Method Summary collapse
-
#hasher ⇒ Object
The instance of
Hashidsused to encode and decode values.
Instance Method Details
#hasher ⇒ Object
The instance of Hashids used to encode and decode values
32 33 34 |
# File 'lib/sequel/plugins/hash_id.rb', line 32 def hasher Hashids.new(@hash_id_state[:salt], @hash_id_state[:length]) end |