Class: StorageRoom::AtomicField

Inherits:
Field show all
Defined in:
lib/storage_room/embeddeds/fields/atomic_field.rb

Instance Method Summary collapse

Methods included from Accessors

#[], #as_json, #attributes, #attributes=, #eql?, #hash, #initialize, #inspect, #loaded?, #proxy?, #reset!, #response_data, #response_data=, #set_from_response_data, #to_hash

Instance Method Details

#add_to_entry_class(klass) ⇒ Object

:nodoc:



9
10
11
12
# File 'lib/storage_room/embeddeds/fields/atomic_field.rb', line 9

def add_to_entry_class(klass) # :nodoc:
  super
  klass.send(:key, identifier)
end