module

Hermes::Persistent

Instance methods

_id=(_id)
Source
_index
Source
_index=(_index)
Source
_type
Source
_type=(_type)
Source
es_new_record?
Source

Macros

es_fields(properties, strict = false, prefix = "")

Options:

  • type
  • nilable
  • setter
  • getter
  • default
  • converter
  • emit_null
  • root
Source
es_fields

This is a convenience method to allow invoking JSON.mapping with named arguments instead of with a hash/named-tuple literal.

Source

Nested types