Sha256: a6997d45b3d3f13d1ecb4fa78827f614ff78b00c7b0241cd2bf6f7ce0ee9593a

Contents?: true

Size: 543 Bytes

Versions: 1

Compression:

Stored size: 543 Bytes

Contents

module Heirloom
  module CLI
    class Download

      def initialize(args)
        @name = args[:name]
        @id = args[:id]
        @output = args[:output]
        @region = args[:region]
        @logger = args[:logger]
        @artifact = Artifact.new :name      => @name,
                                 :id        => @id,
                                 :logger    => @logger
      end
      
      def download
        @artifact.download :output => @output,
                           :region => @region
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
heirloom-0.1.4 lib/heirloom/cli/download.rb