Class: Runcible::Models::IsoImporter

Inherits:
Importer
  • Object
show all
Defined in:
lib/runcible/models/iso_importer.rb

Constant Summary collapse

ID =
'iso_importer'.freeze

Instance Attribute Summary

Attributes inherited from Importer

#basic_auth_password, #basic_auth_username, #feed, #max_downloads, #max_speed, #proxy_host, #proxy_password, #proxy_port, #proxy_username, #remove_missing, #retain_old_count, #ssl_ca_cert, #ssl_client_cert, #ssl_client_key, #ssl_validation, #validate

Instance Method Summary collapse

Methods inherited from Importer

#initialize

Constructor Details

This class inherits a constructor from Runcible::Models::Importer

Instance Method Details

#configHash

generate the pulp config for the iso importer

Returns:

  • (Hash)


16
17
18
# File 'lib/runcible/models/iso_importer.rb', line 16

def config
  as_json
end

#idstring

Importer Type id

Returns:

  • (string)


9
10
11
# File 'lib/runcible/models/iso_importer.rb', line 9

def id
  IsoImporter::ID
end