Class: Runcible::Extensions::Importer

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

Overview

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

Direct Known Subclasses

IsoImporter, YumImporter

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Importer

Returns a new instance of Importer.



34
35
36
# File 'lib/runcible/extensions/importer.rb', line 34

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