Class: AwSec::Providers::EchoIp

Inherits:
Object
  • Object
show all
Defined in:
lib/providers/ip_echo.rb

Instance Method Summary collapse

Instance Method Details

#configureObject



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(options)
  Net::HTTP.get(URI "http://ipecho.net/plain")
end