Module: Elastictastic::Dirty::ClassMethods

Defined in:
lib/elastictastic/dirty.rb

Instance Method Summary collapse

Instance Method Details

#define_embed(embed_name, options) ⇒ Object



15
16
17
18
# File 'lib/elastictastic/dirty.rb', line 15

def define_embed(embed_name, options)
  super
  define_dirty_accessors(embed_name)
end

#define_field(field_name, options, &block) ⇒ Object



10
11
12
13
# File 'lib/elastictastic/dirty.rb', line 10

def define_field(field_name, options, &block)
  super
  define_dirty_accessors(field_name)
end