lib/heirloom/artifact/artifact_reader.rb in heirloom-0.0.9 vs lib/heirloom/artifact/artifact_reader.rb in heirloom-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
module Heirloom
class ArtifactReader
def initialize(args)
- @config = Config.new
+ @config = args[:config]
end
def show(args)
domain = args[:name]
id = args[:id]