Sha256: 4fa5d22596e2b9f74ae12bc15a15b64b76a81a0ea050376ef8860a85f4fdac33

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

class Opsicle::OpsworksAdapter
  attr_reader :client

  def initialize(client)
    @client = client.opsworks
  end

  def get_layers(stack_id)
    client.describe_layers(stack_id: stack_id).layers
  end

  def start_instance(instance_id)
    client.start_instance(instance_id: instance_id)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opsicle-2.11.3 lib/opsicle/opsworks_adapter.rb
opsicle-2.11.1 lib/opsicle/opsworks_adapter.rb
opsicle-2.11.0 lib/opsicle/opsworks_adapter.rb