Sha256: ffe2627f64c7487a4cedeb10fcc8fb9d4a72d70fab135f0189260da6383de2c3

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

=eat

Instead of

    require 'open-uri'
    open('http://169.254.169.254/latest/meta-data/security-groups').gets
    open('/home/seamus/foo.txt').gets

Try

    require 'eat'
    eat('http://169.254.169.254/latest/meta-data/security-groups')
    eat('/home/seamus/foo.txt')

==Supported schemas

* local filesystem (it will try to use <tt>sudo</tt> if it can't read the file)
* http (the default timeout is 5 seconds)
* https (it won't check the SSL certificate... if you want security, don't use this!)

Copyright 2011 Seamus Abshere

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eat-0.0.1 README.rdoc