Sha256: 008c507a5280f3faf6ecf35ad14cacb75126e12128ff30580438f5872af6efc5

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

module Heirloom
  module CLI
    class Update

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

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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