Method: Aws::ENI::Meta#instance

Defined in:
lib/aws-eni/meta.rb

#instance(path, options = {}) ⇒ Object

Perform a GET request on the instance metadata and return the body of any 200 response.



50
51
52
# File 'lib/aws-eni/meta.rb', line 50

def instance(path, options = {})
  get("/latest/meta-data/#{path}", options)
end