Sha256: 216bac88fff6e759cfad80df65ace58a545f36cf843666b2d0102cab37cc2099

Contents?: true

Size: 255 Bytes

Versions: 5

Compression:

Stored size: 255 Bytes

Contents

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

        def stop(id)
          @connection.ec2.instances[id].stop
        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/stop_instance.rb
roark-0.2.1 lib/roark/aws/ec2/stop_instance.rb
roark-0.2.0 lib/roark/aws/ec2/stop_instance.rb
roark-0.1.0 lib/roark/aws/ec2/stop_instance.rb
roark-0.0.1 lib/roark/aws/ec2/stop_instance.rb