mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
e1f625f9f2
This function allows you to get the ip address of the current machine. I found this useful because I wanted to add my personal or production machine to a specific RDS security group. The call is quite simple and connects to amazon's checkip website. The class is threadsafe and I have included specs with it as well. I have also added the Fog::AWS::RDS::SecurityGroup#authorize_me function to make adding the current machine to a given RDS security group very easy. |
||
---|---|---|
.. | ||
current_machine_spec.rb |