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 Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Importer

Returns a new instance of Importer.



32
33
34
# File 'lib/runcible/models/importer.rb', line 32

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