Module: Lite::Uxid::Base

Included in:
Irreversible::Base, Reversible::Base
Defined in:
lib/lite/uxid/base.rb

Instance Method Summary collapse

Instance Method Details

#decodeObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/lite/uxid/base.rb', line 11

def decode
  raise NotImplementedError, "override decode method in #{coder_class}"
end

#encodeObject

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/lite/uxid/base.rb', line 7

def encode
  raise NotImplementedError, "override encode method in #{coder_class}"
end