Module: DynDynDong

Defined in:
lib/dyndyndong/version.rb,
lib/dyndyndong/client.rb,
lib/dyndyndong/daemon.rb,
lib/dyndyndong/services.rb,
lib/dyndyndong/dyndyndong.rb,
lib/dyndyndong/services/no-ip.rb,
lib/dyndyndong/services/afraid.rb,
lib/dyndyndong/services/dyndns.rb,
lib/dyndyndong/services/generic.rb,
lib/dyndyndong/services/zoneedit.rb

Overview

– Copyleft shura. [[email protected]]

This file is part of DynDynDong.

DynDynDong is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

DynDynDong is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with dyndyndong. If not, see <www.gnu.org/licenses/>. ++

Defined Under Namespace

Classes: Afraid, Client, Daemon, DynDNS, Generic, NoIp, Service, ZoneEdit

Constant Summary collapse

VERSION =
'0.0.4.2'

Class Method Summary collapse

Class Method Details

.delayObject



21
22
23
# File 'lib/dyndyndong/dyndyndong.rb', line 21

def self.delay
  @delay || 600
end

.delay=(n) ⇒ Object

Raises:

  • (Exception)


25
26
27
28
# File 'lib/dyndyndong/dyndyndong.rb', line 25

def self.delay=(n)
  raise Exception, "Insert a numeric value for delay" if !n.is_a?(Numeric)
  @delay = n
end