class Contentful::Importer::PublishAssets

Public Class Methods

options() click to toggle source
Calls superclass method Contentful::Importer::Command::options
# File lib/contentful/importer/publish_assets.rb, line 9
def self.options
        super.concat(data_options).concat(thread_options).sort
end
publish(settings, importer) click to toggle source
# File lib/contentful/importer/publish_assets.rb, line 13
def self.publish(settings, importer)
        importer.publish_assets_in_threads(settings[:threads])
end

Public Instance Methods

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