Class: Contentful::Importer::PublishEntries
- Defined in:
- lib/contentful/importer/publish_entries.rb
Instance Attribute Summary
Attributes inherited from Command
#config, #converter, #importer, #json_validator
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
data_options, #initialize, space_options, thread_options
Constructor Details
This class inherits a constructor from Contentful::Importer::Command
Class Method Details
.options ⇒ Object
9 10 11 |
# File 'lib/contentful/importer/publish_entries.rb', line 9 def self. super.concat().sort end |
.publish(importer) ⇒ Object
13 14 15 |
# File 'lib/contentful/importer/publish_entries.rb', line 13 def self.publish(importer) importer.publish_entries_in_threads end |
Instance Method Details
#run ⇒ Object
17 18 19 20 |
# File 'lib/contentful/importer/publish_entries.rb', line 17 def run super self.class.publish(@importer) end |