31 32 33 34 35 36 37
# File 'lib/hash_identable/identity.rb', line 31 def to_h { klass: klass, id: id, encoded_id: encoded_id } end