Method: Fog::Compute::AWS::Addresses#get

Defined in:
lib/fog/aws/models/compute/addresses.rb

#get(public_ip) ⇒ Object

Used to retrieve an IP address

public_ip is required to get the associated IP information.

You can run the following command to get the details: AWS.addresses.get(“76.7.46.54”)


82
83
84
85
86
# File 'lib/fog/aws/models/compute/addresses.rb', line 82

def get(public_ip)
  if public_ip
    self.class.new(:connection => connection).all('public-ip' => public_ip).first
  end
end