Sha256: f110205dc828c8b68a2c7631afdbbc37f0ce3fd1f69ae62bc475ca4002d92d39

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

require 'mikoshi/plan'

module Mikoshi
  class Plan
    class TaskDefinition < Base
      def initialize(yaml_path: nil, client: nil)
        super
      end

      def register_task_definition
        resp = @client.register_task_definition(@data)
        ENV['TASK_REVISION'] = resp.task_definition.revision.to_s
        resp
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mikoshi-0.1.4 lib/mikoshi/plan/task_definition.rb
mikoshi-0.1.3 lib/mikoshi/plan/task_definition.rb
mikoshi-0.1.2 lib/mikoshi/plan/task_definition.rb
mikoshi-0.1.1 lib/mikoshi/plan/task_definition.rb
mikoshi-0.1.0 lib/mikoshi/plan/task_definition.rb