Class: ArchiveImporter::PostImporter

Inherits:
OwnEntityImporter show all
Includes:
Diaspora::Logging
Defined in:
lib/archive_importer/post_importer.rb

Instance Attribute Summary

Attributes inherited from EntityImporter

#json, #persisted_object, #user

Instance Method Summary collapse

Methods inherited from EntityImporter

#entity, #initialize

Constructor Details

This class inherits a constructor from ArchiveImporter::EntityImporter

Instance Method Details

#importObject


7
8
9
10
# File 'lib/archive_importer/post_importer.rb', line 7

def import
  super
  import_subscriptions if persisted_object
end