Sha256: 21a753484b1196e92e3301e9170a5193958e51f40bdd2959c95ace13350bcfa8

Contents?: true

Size: 824 Bytes

Versions: 2

Compression:

Stored size: 824 Bytes

Contents

module MooMoo
  class Nameserver < Base

    ##
    # Creates a nameserver in the same domain space as the cookie's domain.
    #
    # http://www.opensrs.com/docs/apidomains/create_nameserver.htm
    register_service :create, :nameserver

    ##
    # Deletes a nameserver.
    #
    # http://www.opensrs.com/docs/apidomains/Delete_Nameserver.htm
    register_service :delete, :nameserver

    ##
    # Queries nameservers that exist in the current user profile (current cookie). These nameservers
    # may or may not be currently assigned to a domain.
    #
    # http://www.opensrs.com/docs/apidomains/get_nameserver.htm
    register_service :get, :nameserver

    ##
    # Renames a nameserver.
    #
    # http://www.opensrs.com/docs/apidomains/modify_nameserver.htm
    register_service :modify, :nameserver
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moo_moo-0.3.0 lib/moo_moo/services/nameserver.rb
moo_moo-0.2.0 lib/moo_moo/nameserver.rb