Module: Noip
- Defined in:
- lib/noip.rb,
lib/noip/cli.rb,
lib/noip/agent.rb,
lib/noip/updater.rb,
lib/noip/version.rb,
lib/noip/remote_ip.rb,
lib/noip/credentials.rb
Defined Under Namespace
Classes: Agent, Credentials, RemoteIp, Update, Updater
Constant Summary
collapse
- VERSION =
"0.2"
Class Method Summary
collapse
Class Method Details
.update(username, password, host) ⇒ Object
10
11
12
13
14
15
|
# File 'lib/noip.rb', line 10
def self.update(username, password, host)
credentials = Noip::Credentials.new(username, password, host)
updater = Noip::Updater.new(credentials)
updater.update
end
|