Sha256: 401574f77687fb851cbe9b6a032cc36bbc724a58c6b9d1fbde482dca10740347

Contents?: true

Size: 261 Bytes

Versions: 5

Compression:

Stored size: 261 Bytes

Contents

module Roark
  module Aws
    module Ec2
      class InstanceStatus
        def initialize(connection)
          @connection = connection
        end

        def status(id)
          @connection.ec2.instances[id].status
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
roark-0.2.2 lib/roark/aws/ec2/instance_status.rb
roark-0.2.1 lib/roark/aws/ec2/instance_status.rb
roark-0.2.0 lib/roark/aws/ec2/instance_status.rb
roark-0.1.0 lib/roark/aws/ec2/instance_status.rb
roark-0.0.1 lib/roark/aws/ec2/instance_status.rb