Module: Aqua::Unpack::InstanceMethods

Defined in:
lib/aqua/object/unpack.rb

Instance Method Summary collapse

Instance Method Details

#reloadObject

Reloads database information into the object, and raises an error on failure.

Returns:

  • Will return raise error on failure and return self on success.

API:

  • public



45
46
47
48
49
# File 'lib/aqua/object/unpack.rb', line 45

def reload 
  doc = self.class._get_store( id )
  _translator.reload_object( self, doc )
  self
end