lib/esgob/client.rb
def domains_slaves_add(domain, masterip)
    result = call('domains.slaves.add', :domain => domain, :masterip => masterip)
    result[:domain] ||= domain
    result
  end
# Adds a new slave domain.
# @param [String] domain The name of the domain to add
# @param [String] masterip The IP of the master to transfer the zone from.
# @return [Hash] The response from the Esgob service, with symbols as keys.
Adds a new slave domain.
Adds a new slave domain .
def domains_slaves_add(domain, masterip)
    result = call('domains.slaves.add', :domain => domain, :masterip => masterip)
    result[:domain] ||= domain
    result
  end
def domains_slaves_add ( domain , masterip ) result = call ( 'domains.slaves.add' , :domain => domain , :masterip => masterip ) result [ :domain ] ||= domain result end
Adds a new slave domain.
Adds a new slave domain .
The response from the Esgob service, with symbols as keys.
The response from the Esgob service with symbols as keys .
Hash
domain
masterip
masterip The IP of the master to transfer the zone from.
masterip The IP of the master to transfer the zone from .