Class: UltraDNSUpdater::Strategies::Hostname

Inherits:
Configured show all
Defined in:
lib/ultradns_updater/strategies/hostname.rb

Instance Method Summary collapse

Methods inherited from Configured

#update

Methods inherited from UpdateStrategy

#iface_ip, #initialize, #strategy_to_use, #ultradns, #update

Methods included from Preconditions

#not_empty, #precondition

Constructor Details

This class inherits a constructor from UltraDNSUpdater::Strategies::UpdateStrategy

Instance Method Details

#strategy_configObject



21
22
23
# File 'lib/ultradns_updater/strategies/hostname.rb', line 21

def strategy_config
  super().merge({:name => Socket::gethostname()})
end