Sha256: fcc891e6cc530226f0efeb4e41d2889c1c182c333b6874d860d8ef669cf333db
Contents?: true
Size: 778 Bytes
Versions: 12
Compression:
Stored size: 778 Bytes
Contents
require 'logger' module EcsDeployer class Client # @param [String] cluster # @param [Logger] logger # @param [Hash] aws_options # @return [EcsDeployer::Client] def initialize(cluster, logger = nil, aws_options = {}) @cluster = cluster @logger = logger.nil? ? Logger.new(nil) : logger @aws_options = aws_options end # @return [EcsDeployer::Task::Client] def task EcsDeployer::Task::Client.new(@aws_options) end # @return [EcsDeployer::ScheduledTask::Client] def scheduled_task EcsDeployer::ScheduledTask::Client.new(@cluster, @aws_options) end # @return [EcsDeployer::Service::Client] def service EcsDeployer::Service::Client.new(@cluster, @logger, @aws_options) end end end
Version data entries
12 entries across 12 versions & 1 rubygems