Sha256: 5381d0a6f53f433982f1da03c71e2f08970182843d7aa618b09019b9fb45af4d

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 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 timeout is 2 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.2 README.rdoc