Sha256: c562c034a47fe69ea2d16099ed3d2b02e0b5c541d7302cadcf4263f12d2797d9
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
require 'thor' module Noip class Update < Thor option :username, :aliases => '-u', :type => :string, :required => true option :password, :aliases => '-p', :type => :string, :required => true option :host, :aliases => '-h', :type => :string, :required => true desc "update", "Update the Dynamic DNS record at noip" long_desc <<-DESC `update` Update the Dynamic DNS record at noip. A simple utility for updating noip (https://www.noip.com/integrate/request) dynamic DNS records for when your router kinda shit. https://github.com/asellitt/noip DESC def update Noip.update(options[:username], options[:password], options[:host]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noip-0.2 | lib/noip/cli.rb |