class Planet::Importer

Public Class Methods

import(config) { |planet| ... } click to toggle source
# File lib/planet/importer.rb, line 3
def self.import(config)
  planet = Planet.new(config)
  planet.aggregate

  yield(planet)
end