Sha256: d84f28d6279270d03f0338a440de13f24724dcb64064f97a3e9ea453c1681b18

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 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_DEF_REVISION'] = resp.task_definition.revision.to_s
        resp
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mikoshi-0.1.5 lib/mikoshi/plan/task_definition.rb