Class: ArchiveImporter::OwnRelayableImporter

Inherits:
OwnEntityImporter show all
Defined in:
lib/archive_importer/own_relayable_importer.rb

Instance Attribute Summary

Attributes inherited from EntityImporter

#json, #persisted_object, #user

Instance Method Summary collapse

Methods inherited from OwnEntityImporter

#import

Methods inherited from EntityImporter

#import, #initialize

Constructor Details

This class inherits a constructor from ArchiveImporter::EntityImporter

Instance Method Details

#entityObject


5
6
7
8
# File 'lib/archive_importer/own_relayable_importer.rb', line 5

def entity
  fetch_parent(symbolized_entity_data)
  entity_class.new(symbolized_entity_data)
end