Class: AwSec::Providers::EchoIp
- Inherits:
-
Object
- Object
- AwSec::Providers::EchoIp
- Defined in:
- lib/providers/ip_echo.rb
Instance Method Summary collapse
Instance Method Details
#configure ⇒ Object
13 14 |
# File 'lib/providers/ip_echo.rb', line 13 def configure end |
#get_public_ip(options) ⇒ Object
9 10 11 |
# File 'lib/providers/ip_echo.rb', line 9 def get_public_ip() Net::HTTP.get(URI "http://ipecho.net/plain") end |