Class: PublicIp::Service::WhatIsMyIpAddress

Inherits:
Plain
  • Object
show all
Defined in:
lib/public_ip/service/what_is_my_ip_address.rb

Instance Attribute Summary

Attributes inherited from Simple

#headers, #uri

Class Method Summary collapse

Methods inherited from Plain

extract_ip

Methods included from Registrable

#inherited

Methods inherited from Simple

headers, ip, perform_request, symbol

Class Method Details

.uriObject



4
5
6
# File 'lib/public_ip/service/what_is_my_ip_address.rb', line 4

def self.uri
  URI('http://bot.whatismyipaddress.com')
end