class Contentful::Importer::ImportAssets

Public Class Methods

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

Public Instance Methods

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