class PublicIp::Service::Dyndns

Public Class Methods

match_regex() click to toggle source
# File lib/public_ip/service/dyndns.rb, line 8
def self.match_regex
  /Current IP Address: ((?:[0-9]{1,3}\.){3}[0-9]{1,3})/
end
uri() click to toggle source
# File lib/public_ip/service/dyndns.rb, line 4
def self.uri
  URI('http://checkip.dyndns.org')
end