class Contentful::Importer::PublishEntries

Public Class Methods

options() click to toggle source
Calls superclass method Contentful::Importer::Command::options
# File lib/contentful/importer/publish_entries.rb, line 9
def self.options
        super.concat(data_options).sort
end
publish(importer) click to toggle source
# File lib/contentful/importer/publish_entries.rb, line 13
def self.publish(importer)
        importer.publish_entries_in_threads
end

Public Instance Methods

run() click to toggle source
Calls superclass method Contentful::Importer::Command#run
# File lib/contentful/importer/publish_entries.rb, line 17
def run
        super
        self.class.publish(@importer)
end