Class: Runcible::Models::Importer

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

Overview

Generic class to represent Pulp Importers Child classes should supply id & config methods

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Importer

Returns a new instance of Importer.



17
18
19
# File 'lib/runcible/models/importer.rb', line 17

def initialize(params = {})
  params.each { |k, v| send("#{k}=", v) }
end

Instance Attribute Details

#basic_auth_passwordObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def basic_auth_password
  @basic_auth_password
end

#basic_auth_usernameObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def basic_auth_username
  @basic_auth_username
end

#feedObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def feed
  @feed
end

#max_downloadsObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def max_downloads
  @max_downloads
end

#max_speedObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def max_speed
  @max_speed
end

#proxy_hostObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def proxy_host
  @proxy_host
end

#proxy_passwordObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def proxy_password
  @proxy_password
end

#proxy_portObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def proxy_port
  @proxy_port
end

#proxy_usernameObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def proxy_username
  @proxy_username
end

#remove_missingObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def remove_missing
  @remove_missing
end

#retain_old_countObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def retain_old_count
  @retain_old_count
end

#ssl_ca_certObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def ssl_ca_cert
  @ssl_ca_cert
end

#ssl_client_certObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def ssl_client_cert
  @ssl_client_cert
end

#ssl_client_keyObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def ssl_client_key
  @ssl_client_key
end

#ssl_validationObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def ssl_validation
  @ssl_validation
end

#validateObject



10
11
12
# File 'lib/runcible/models/importer.rb', line 10

def validate
  @validate
end