diff --git a/lib/dnsimple/client/billing.rb b/lib/dnsimple/client/billing.rb index e87bd691..4c920357 100644 --- a/lib/dnsimple/client/billing.rb +++ b/lib/dnsimple/client/billing.rb @@ -5,7 +5,7 @@ class Client module Billing # List the billing charges for the account. # - # @see https://developer.dnsimple.com/v2/billing/#listCharges + # @see https://developer.dnsimple.com/v2/billing-charges/#listCharges # # @example List charges in the first page # client.charges.list(1010) diff --git a/lib/dnsimple/client/contacts.rb b/lib/dnsimple/client/contacts.rb index 9daebce8..ffce70b4 100644 --- a/lib/dnsimple/client/contacts.rb +++ b/lib/dnsimple/client/contacts.rb @@ -5,7 +5,7 @@ class Client module Contacts # Lists the contacts in the account. # - # @see https://developer.dnsimple.com/v2/contacts/#list + # @see https://developer.dnsimple.com/v2/contacts/#listContacts # @see #all_contacts # # @example List contacts in the first page @@ -40,7 +40,7 @@ def contacts(account_id, options = {}) # Please use this method carefully, as fetching the entire collection will increase the number of requests # you send to the API server and you may eventually risk to hit the throttle limit. # - # @see https://developer.dnsimple.com/v2/contacts/#list + # @see https://developer.dnsimple.com/v2/contacts/#listContacts # @see #contacts # # @param account_id [Integer] the account ID @@ -57,7 +57,7 @@ def all_contacts(account_id, options = {}) # Creates a contact in the account. # - # @see https://developer.dnsimple.com/v2/contacts/#create + # @see https://developer.dnsimple.com/v2/contacts/#createContact # # @param account_id [Integer] the account ID # @param attributes [Hash] @@ -74,7 +74,7 @@ def create_contact(account_id, attributes, options = {}) # Gets a contact from the account. # - # @see https://developer.dnsimple.com/v2/contacts/#get + # @see https://developer.dnsimple.com/v2/contacts/#getContact # # @param account_id [Integer] the account ID # @param contact_id [#to_s] the contact ID @@ -91,7 +91,7 @@ def contact(account_id, contact_id, options = {}) # Updates a contact in the account. # - # @see https://developer.dnsimple.com/v2/contacts/#update + # @see https://developer.dnsimple.com/v2/contacts/#updateContact # # @param account_id [Integer] the account ID # @param contact_id [#to_s] the contact ID @@ -110,7 +110,7 @@ def update_contact(account_id, contact_id, attributes, options = {}) # # WARNING: this cannot be undone. # - # @see https://developer.dnsimple.com/v2/contacts/#delete + # @see https://developer.dnsimple.com/v2/contacts/#deleteContact # # @param account_id [Integer] the account ID # @param contact_id [#to_s] the contact ID diff --git a/lib/dnsimple/client/domains_delegation_signer_records.rb b/lib/dnsimple/client/domains_delegation_signer_records.rb index cf8b1391..6320fd73 100644 --- a/lib/dnsimple/client/domains_delegation_signer_records.rb +++ b/lib/dnsimple/client/domains_delegation_signer_records.rb @@ -5,7 +5,7 @@ class Client module DomainsDelegationSignerRecords # Lists the delegation signer records for the domain. # - # @see https://developer.dnsimple.com/v2/domains/dnssec/#ds-record-list + # @see https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords # # @example List delegation signer records in the first page # client.domains.delegation_signer_records(1010, "example.com") @@ -40,7 +40,7 @@ def delegation_signer_records(account_id, domain_id, options = {}) # Please use this method carefully, as fetching the entire collection will increase the number of requests # you send to the API server and you may eventually risk to hit the throttle limit. # - # @see https://developer.dnsimple.com/v2/domains/dnssec/#ds-record-list + # @see https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords # @see #email_forwards # # @param account_id [Integer] the account ID @@ -58,7 +58,7 @@ def all_delegation_signer_records(account_id, domain_id, options = {}) # Creates a delegation signer record for the domain. # - # @see https://developer.dnsimple.com/v2/domains/dnssec/#ds-record-create + # @see https://developer.dnsimple.com/v2/domains/dnssec/#createDomainDelegationSignerRecord # @see http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml # @see http://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml # @@ -83,7 +83,7 @@ def create_delegation_signer_record(account_id, domain_id, attributes, options = # Gets a delegation signer record for the domain. # - # @see https://developer.dnsimple.com/v2/domains/dnssec/#ds-record-get + # @see https://developer.dnsimple.com/v2/domains/dnssec/#getDomainDelegationSignerRecord # # @param account_id [Integer] the account ID # @param domain_id [#to_s] The domain ID or domain name @@ -103,7 +103,7 @@ def delegation_signer_record(account_id, domain_id, ds_record_id, options = {}) # # WARNING: this cannot be undone. # - # @see https://developer.dnsimple.com/v2/domains/dnssec/#ds-record-delete + # @see https://developer.dnsimple.com/v2/domains/dnssec/#deleteDomainDelegationSignerRecord # # @param account_id [Integer] the account ID # @param domain_id [#to_s] The domain ID or domain name diff --git a/lib/dnsimple/client/domains_dnssec.rb b/lib/dnsimple/client/domains_dnssec.rb index 13cff9be..629fc46e 100644 --- a/lib/dnsimple/client/domains_dnssec.rb +++ b/lib/dnsimple/client/domains_dnssec.rb @@ -5,7 +5,7 @@ class Client module DomainsDnssec # Enable DNSSEC for the domain in the account. # - # @see https://developer.dnsimple.com/v2/dnssec/#enable + # @see https://developer.dnsimple.com/v2/domains/dnssec/#enableDomainDnssec # # @param account_id [Integer] the account ID # @param domain_name [#to_s] the domain name @@ -22,7 +22,7 @@ def enable_dnssec(account_id, domain_name, options = {}) # Disable DNSSEC for the domain in the account. # - # @see https://developer.dnsimple.com/v2/dnssec/#disable + # @see https://developer.dnsimple.com/v2/domains/dnssec/#disableDomainDnssec # # @param account_id [Integer] the account ID # @param domain_name [#to_s] the domain name @@ -39,7 +39,7 @@ def disable_dnssec(account_id, domain_name, options = {}) # Get the DNSSEC status for the domain in the account. # - # @see https://developer.dnsimple.com/v2/dnssec/#get + # @see https://developer.dnsimple.com/v2/domains/dnssec/#getDomainDnssec # # @param account_id [Integer] the account ID # @param domain_name [#to_s] the domain name diff --git a/lib/dnsimple/client/domains_email_forwards.rb b/lib/dnsimple/client/domains_email_forwards.rb index 09d828b3..639052a1 100644 --- a/lib/dnsimple/client/domains_email_forwards.rb +++ b/lib/dnsimple/client/domains_email_forwards.rb @@ -5,7 +5,7 @@ class Client module DomainsEmailForwards # Lists the email forwards for the domain. # - # @see https://developer.dnsimple.com/v2/domains/email-forwards/#list + # @see https://developer.dnsimple.com/v2/domains/email-forwards/#listEmailForwards # # @example List email forwards in the first page # client.domains.email_forwards(1010, "example.com") @@ -40,7 +40,7 @@ def email_forwards(account_id, domain_id, options = {}) # Please use this method carefully, as fetching the entire collection will increase the number of requests # you send to the API server and you may eventually risk to hit the throttle limit. # - # @see https://developer.dnsimple.com/v2/domains/email-forwards/#list + # @see https://developer.dnsimple.com/v2/domains/email-forwards/#listEmailForwards # @see #email_forwards # # @param account_id [Integer] the account ID @@ -58,7 +58,7 @@ def all_email_forwards(account_id, domain_id, options = {}) # Creates an email forward for the domain. # - # @see https://developer.dnsimple.com/v2/domains/email-forwards/#create + # @see https://developer.dnsimple.com/v2/domains/email-forwards/#createEmailForward # # @param account_id [Integer] the account ID # @param domain_id [#to_s] The domain ID or domain name @@ -76,7 +76,7 @@ def create_email_forward(account_id, domain_id, attributes, options = {}) # Gets a email forward for the domain. # - # @see https://developer.dnsimple.com/v2/domains/email-forwards/#get + # @see https://developer.dnsimple.com/v2/domains/email-forwards/#getEmailForward # # @param account_id [Integer] the account ID # @param domain_id [#to_s] The domain ID or domain name @@ -96,7 +96,7 @@ def email_forward(account_id, domain_id, email_forward_id, options = {}) # # WARNING: this cannot be undone. # - # @see https://developer.dnsimple.com/v2/domains/email-forwards/#delete + # @see https://developer.dnsimple.com/v2/domains/email-forwards/#deleteEmailForward # # @param account_id [Integer] the account ID # @param domain_id [#to_s] The domain ID or domain name diff --git a/lib/dnsimple/client/domains_pushes.rb b/lib/dnsimple/client/domains_pushes.rb index 6e3d79d3..f31e6a07 100644 --- a/lib/dnsimple/client/domains_pushes.rb +++ b/lib/dnsimple/client/domains_pushes.rb @@ -5,7 +5,7 @@ class Client module DomainsPushes # Initiate a push for the domain. # - # @see https://developer.dnsimple.com/v2/domains/pushes/#initiate + # @see https://developer.dnsimple.com/v2/domains/pushes/#initiateDomainPush # # @example Initiate a domain push for example.com using a domain push identifier: # client.domains.initiate_push(1010, "example.com", new_account_identifier: "abc123") @@ -30,7 +30,7 @@ def initiate_push(account_id, domain_id, attributes, options = {}) # Lists the pushes for the domain. # - # @see https://developer.dnsimple.com/v2/domains/pushes/#list + # @see https://developer.dnsimple.com/v2/domains/pushes/#listPushes # # @example List domain pushes in the first page # client.domains.pushes(2020) @@ -54,7 +54,7 @@ def pushes(account_id, options = {}) # Accept a domain push. # - # @see https://developer.dnsimple.com/v2/domains/pushes/#accept + # @see https://developer.dnsimple.com/v2/domains/pushes/#acceptPush # # @example Accept a domain push in the target account: # client.domains.accept_push(2020, 1, contact_id: 2) @@ -77,7 +77,7 @@ def accept_push(account_id, push_id, attributes, options = {}) # Reject a domain push. # - # @see https://developer.dnsimple.com/v2/domains/pushes/#reject + # @see https://developer.dnsimple.com/v2/domains/pushes/#rejectPush # # @example Reject a domain push in the target account: # client.domains.reject_push(2020, 1, contact_id: 2) diff --git a/lib/dnsimple/client/registrar.rb b/lib/dnsimple/client/registrar.rb index 3ce83860..809e1af4 100644 --- a/lib/dnsimple/client/registrar.rb +++ b/lib/dnsimple/client/registrar.rb @@ -5,7 +5,7 @@ class Client module Registrar # Checks whether a domain is available to be registered. # - # @see https://developer.dnsimple.com/v2/registrar/#check + # @see https://developer.dnsimple.com/v2/registrar/#checkDomain # # @example Check whether example.com is available: # client.registrar.check_domain(1010, "example.com") @@ -45,7 +45,7 @@ def get_domain_prices(account_id, domain_name, options = {}) # Registers a domain. # - # @see https://developer.dnsimple.com/v2/registrar/#register + # @see https://developer.dnsimple.com/v2/registrar/#registerDomain # # @example Initiate the registration of example.com using the contact 1234 as registrant # including WHOIS privacy for the domain and enabling auto renewal: @@ -90,7 +90,7 @@ def get_domain_registration(account_id, domain_name, domain_registration_id, opt # Renews a domain. # - # @see https://developer.dnsimple.com/v2/registrar/#renew + # @see https://developer.dnsimple.com/v2/registrar/#renewDomain # # @example Renew example.com for 3 years: # client.registrar.renew_domain(1010, "example.com", period: 3) @@ -133,7 +133,7 @@ def get_domain_renewal(account_id, domain_name, domain_renewal_id, options = {}) # Starts the transfer of a domain to DNSimple. # - # @see https://developer.dnsimple.com/v2/registrar/#transfer + # @see https://developer.dnsimple.com/v2/registrar/#transferDomain # # @example Initiate the transfer for example.com using the contact 1234 as registrant: # client.registrar.transfer_domain(1010, "example.com", registrant_id: 1234, auth_code: "x1y2z3") @@ -199,7 +199,7 @@ def cancel_domain_transfer(account_id, domain_name, domain_transfer_id, options # Requests the transfer of a domain out of DNSimple. # - # @see https://developer.dnsimple.com/v2/registrar/#transfer-out + # @see https://developer.dnsimple.com/v2/registrar/#authorizeDomainTransferOut # # @example Request to transfer of example.com out of DNSimple: # client.registrar.transfer_domain_out(1010, "example.com") @@ -219,7 +219,7 @@ def transfer_domain_out(account_id, domain_name, options = {}) # Restores a domain. # - # @see https://developer.dnsimple.com/v2/registrar/#restore + # @see https://developer.dnsimple.com/v2/registrar/#restoreDomain # # @example Restore example.com: # client.registrar.restore_domain(1010, "example.com", {}) diff --git a/lib/dnsimple/client/registrar_delegation.rb b/lib/dnsimple/client/registrar_delegation.rb index a4a34ba4..76e4e9e7 100644 --- a/lib/dnsimple/client/registrar_delegation.rb +++ b/lib/dnsimple/client/registrar_delegation.rb @@ -5,7 +5,7 @@ class Client module RegistrarDelegation # Lists name servers the domain is delegating to. # - # @see https://developer.dnsimple.com/v2/registrar/delegation/#list + # @see https://developer.dnsimple.com/v2/registrar/delegation/#getDomainDelegation # # @example List the name servers example.com is delegating to: # client.registrar.domain_delegation(1010, "example.com") @@ -25,7 +25,7 @@ def domain_delegation(account_id, domain_name, options = {}) # Chagne name servers the domain is delegating to. # - # @see https://developer.dnsimple.com/v2/registrar/delegation/#update + # @see https://developer.dnsimple.com/v2/registrar/delegation/#changeDomainDelegation # # @example Change the name servers example.com is delegating to: # client.registrar.change_domain_delegation(1010, "example.com", @@ -47,7 +47,7 @@ def change_domain_delegation(account_id, domain_name, attributes, options = {}) # Enable vanity name servers for the domain. # - # @see https://developer.dnsimple.com/v2/registrar/delegation/#delegateToVanity + # @see https://developer.dnsimple.com/v2/registrar/delegation/#changeDomainDelegationToVanity # # @example Enable vanity name servers for example.com: # client.registrar.change_domain_delegation_to_vanity(1010, "example.com", @@ -69,7 +69,7 @@ def change_domain_delegation_to_vanity(account_id, domain_name, attributes, opti # Disable vanity name servers for the domain. # - # @see https://developer.dnsimple.com/v2/registrar/delegation/#dedelegateFromVanity + # @see https://developer.dnsimple.com/v2/registrar/delegation/#changeDomainDelegationFromVanity # # @example Disable vanity name servers for example.com: # client.registrar.change_domain_delegation_from_vanity(1010, "example.com") diff --git a/lib/dnsimple/client/registrar_transfer_lock.rb b/lib/dnsimple/client/registrar_transfer_lock.rb index 746351b5..41357452 100644 --- a/lib/dnsimple/client/registrar_transfer_lock.rb +++ b/lib/dnsimple/client/registrar_transfer_lock.rb @@ -23,7 +23,7 @@ def get_domain_transfer_lock(account_id, domain_name, options = {}) # Enable transfer lock for the domain in the account. # - # @see https://developer.dnsimple.com/v2/registrar/#enableDomainTransferLock + # @see https://developer.dnsimple.com/v2/registrar/transfer-lock/#enableDomainTransferLock # # @param account_id [Integer] the account ID # @param domain_name [#to_s] the domain name @@ -40,7 +40,7 @@ def enable_domain_transfer_lock(account_id, domain_name, options = {}) # Disable trasnfer lock for the domain in the account. # - # @see https://developer.dnsimple.com/v2/registrar/#disableDomainTransferLock + # @see https://developer.dnsimple.com/v2/registrar/transfer-lock/#disableDomainTransferLock # # @param account_id [Integer] the account ID # @param domain_name [#to_s] the domain name diff --git a/lib/dnsimple/client/registrar_whois_privacy.rb b/lib/dnsimple/client/registrar_whois_privacy.rb index bd8d8cbc..7e3e03c1 100644 --- a/lib/dnsimple/client/registrar_whois_privacy.rb +++ b/lib/dnsimple/client/registrar_whois_privacy.rb @@ -5,7 +5,7 @@ class Client module RegistrarWhoisPrivacy # Enables whois privacy for the domain. # - # @see https://developer.dnsimple.com/v2/registrar/whois-privacy/#enable + # @see https://developer.dnsimple.com/v2/registrar/whois-privacy/#enableWhoisPrivacy # # @example Enable whois privacy for "example.com": # client.registrar.enable_whois_privacy(1010, "example.com") @@ -25,7 +25,7 @@ def enable_whois_privacy(account_id, domain_name, options = {}) # Disables whois privacy for the domain. # - # @see https://developer.dnsimple.com/v2/registrar/whois-privacy/#disable + # @see https://developer.dnsimple.com/v2/registrar/whois-privacy/#disableWhoisPrivacy # # @example Disable whois privacy for "example.com": # client.registrar.disable_whois_privacy(1010, "example.com") diff --git a/lib/dnsimple/client/services.rb b/lib/dnsimple/client/services.rb index 1be5a477..1bc2fe73 100644 --- a/lib/dnsimple/client/services.rb +++ b/lib/dnsimple/client/services.rb @@ -5,7 +5,7 @@ class Client module Services # Lists the available one-click services. # - # @see https://developer.dnsimple.com/v2/services/#list + # @see https://developer.dnsimple.com/v2/services/#listServices # # @example List one-click services: # client.services.list_services @@ -42,7 +42,7 @@ def services(options = {}) # @example List all the one-click services: # client.services.all_services # - # @see https://developer.dnsimple.com/v2/services/#list + # @see https://developer.dnsimple.com/v2/services/#listServices # @see #services # # @param options [Hash] the filtering and sorting options @@ -58,7 +58,7 @@ def all_services(options = {}) # Gets the service with specified ID. # - # @see https://developer.dnsimple.com/v2/services/#get + # @see https://developer.dnsimple.com/v2/services/#getService # # @example Get service 43: # client.services.service(43) diff --git a/lib/dnsimple/client/services_domains.rb b/lib/dnsimple/client/services_domains.rb index 72d517f8..995cdea4 100644 --- a/lib/dnsimple/client/services_domains.rb +++ b/lib/dnsimple/client/services_domains.rb @@ -5,7 +5,7 @@ class Client module ServicesDomains # Lists the one-click services applied to the domain. # - # @see https://developer.dnsimple.com/v2/services/domains/#applied + # @see https://developer.dnsimple.com/v2/services/domains/#listDomainAppliedServices # # @example List applied one-click services for example.com: # client.service.applied_services(1010, "example.com") @@ -34,7 +34,7 @@ def applied_services(account_id, domain_id, options = {}) # Apply a given one-click service to the domain. # - # @see https://developer.dnsimple.com/v2/services/domains/#apply + # @see https://developer.dnsimple.com/v2/services/domains/#applyServiceToDomain # # @example Apply one-click service service1 to example.com: # client.domain_services.applied_services(1010, "example.com", "service1") @@ -59,7 +59,7 @@ def apply_service(account_id, service_id, domain_id, settings = {}, options = {} # Unapply a given one-click service from the domain. # - # @see https://developer.dnsimple.com/v2/services/domains/#unapply + # @see https://developer.dnsimple.com/v2/services/domains/#unapplyServiceFromDomain # # @example Unapply one-click service service1 from example.com: # client.domain_services.applied_services(1010, "example.com", "service1") diff --git a/lib/dnsimple/client/templates.rb b/lib/dnsimple/client/templates.rb index aec37b9d..186f0a03 100644 --- a/lib/dnsimple/client/templates.rb +++ b/lib/dnsimple/client/templates.rb @@ -5,7 +5,7 @@ class Client module Templates # Lists the templates in the account. # - # @see https://developer.dnsimple.com/v2/templates/#list + # @see https://developer.dnsimple.com/v2/templates/#listTemplates # # @example List the templates for account 1010: # client.templates.list_templates(1010) @@ -43,7 +43,7 @@ def templates(account_id, options = {}) # @example List all the templates for account 1010: # client.templates.all_templates(1010) # - # @see https://developer.dnsimple.com/v2/templates/#list + # @see https://developer.dnsimple.com/v2/templates/#listTemplates # @see #templates # # @param account_id [Integer] the account ID @@ -60,7 +60,7 @@ def all_templates(account_id, options = {}) # Creates a template in the account. # - # @see https://developer.dnsimple.com/v2/templates/#create + # @see https://developer.dnsimple.com/v2/templates/#createTemplate # # @example Creating a template: # client.templates.create_template(1010, name: "Pi", short_name: "pi", description: "Pi template") @@ -80,7 +80,7 @@ def create_template(account_id, attributes, options = {}) # Gets the template with specified ID. # - # @see https://developer.dnsimple.com/v2/templates/#get + # @see https://developer.dnsimple.com/v2/templates/#getTemplate # # @example Get template 5401 in account 1010: # client.templates.template(1010, 5401) @@ -100,7 +100,7 @@ def template(account_id, template_id, options = {}) # Updates template with specified ID with provided data. # - # @see https://developer.dnsimple.com/v2/templates/#update + # @see https://developer.dnsimple.com/v2/templates/#updateTemplate # # @example Change the name of template 1 in account 1010: # client.templates.update_template(1010, 1, name: "New name") @@ -123,7 +123,7 @@ def update_template(account_id, template_id, attributes, options = {}) # # WARNING: this cannot be undone. # - # @see https://developer.dnsimple.com/v2/templates/#delete + # @see https://developer.dnsimple.com/v2/templates/#deleteTemplate # # @example Delete template 5401 in account 1010: # client.templates.delete_template(1010, 5401) diff --git a/lib/dnsimple/client/templates_domains.rb b/lib/dnsimple/client/templates_domains.rb index a929952b..a155785f 100644 --- a/lib/dnsimple/client/templates_domains.rb +++ b/lib/dnsimple/client/templates_domains.rb @@ -5,7 +5,7 @@ class Client module TemplatesDomains # Applies a template to the domain. # - # @see https://developer.dnsimple.com/v2/templates/domains/#apply + # @see https://developer.dnsimple.com/v2/templates/domains/#applyTemplateToDomain # # @example Apply template 5401 for example.com in account 1010: # client.templates.apply_template(1010, 5401, "example.com") diff --git a/lib/dnsimple/client/templates_records.rb b/lib/dnsimple/client/templates_records.rb index 4b032d76..a5a621f0 100644 --- a/lib/dnsimple/client/templates_records.rb +++ b/lib/dnsimple/client/templates_records.rb @@ -5,7 +5,7 @@ class Client module TemplatesRecords # Lists the records in the template. # - # @see https://developer.dnsimple.com/v2/templates/records/#list + # @see https://developer.dnsimple.com/v2/templates/records/#listTemplateRecords # @see #all_records # # @example List the first page of records for the template "alpha" @@ -43,7 +43,7 @@ def records(account_id, template_id, options = {}) # Please use this method carefully, as fetching the entire collection will increase the number of requests # you send to the API server and you may eventually risk to hit the throttle limit. # - # @see https://developer.dnsimple.com/v2/templates/records/#list + # @see https://developer.dnsimple.com/v2/templates/records/#listTemplateRecords # @see #all_records # # @example List all the records for "alpha template @@ -65,7 +65,7 @@ def all_records(account_id, template_id, options = {}) # Creates a record in the template. # - # @see https://developer.dnsimple.com/v2/templates/records/#create + # @see https://developer.dnsimple.com/v2/templates/records/#createTemplateRecord # # @example Create an A record for "alpha" template # client.templates.create_record(1010, "alpha", name: "", type: "A", content: "192.168.1.1", ttl: 600) @@ -88,7 +88,7 @@ def create_record(account_id, template_id, attributes, options = {}) # Gets a record from the template. # - # @see https://developer.dnsimple.com/v2/templates/records/#get + # @see https://developer.dnsimple.com/v2/templates/records/#getTemplateRecord # # @example Get record 123 in "alpha template # client.templates.record(1010, "alpha", 123) @@ -112,7 +112,7 @@ def record(account_id, template_id, record_id, options = {}) # # WARNING: this cannot be undone. # - # @see https://developer.dnsimple.com/v2/templates/records/#delete + # @see https://developer.dnsimple.com/v2/templates/records/#deleteTemplateRecord # # @example Delete record 123 in "alpha template # client.templates.delete_record(1010, "alpha", 123) diff --git a/lib/dnsimple/client/webhooks.rb b/lib/dnsimple/client/webhooks.rb index 4f6e999e..df05c231 100644 --- a/lib/dnsimple/client/webhooks.rb +++ b/lib/dnsimple/client/webhooks.rb @@ -5,7 +5,7 @@ class Client module Webhooks # Lists ALL the webhooks in the account. # - # @see https://developer.dnsimple.com/v2/webhooks/#list + # @see https://developer.dnsimple.com/v2/webhooks/webhooks/#listWebhooks # # @example List all webhooks # client.webhooks.list(1010) @@ -33,7 +33,7 @@ def webhooks(account_id, options = {}) # Creates a webhook in the account. # - # @see https://developer.dnsimple.com/v2/webhooks/#create + # @see https://developer.dnsimple.com/v2/webhooks/webhooks/#createWebhook # # @param account_id [Integer] the account ID # @param attributes [Hash] @@ -50,7 +50,7 @@ def create_webhook(account_id, attributes, options = {}) # Gets a webhook from the account. # - # @see https://developer.dnsimple.com/v2/webhooks/#get + # @see https://developer.dnsimple.com/v2/webhooks/webhooks/#getWebhook # # @param account_id [Integer] the account ID # @param webhook_id [#to_s] The webhook ID @@ -69,7 +69,7 @@ def webhook(account_id, webhook_id, options = {}) # # WARNING: this cannot be undone. # - # @see https://developer.dnsimple.com/v2/webooks/#delete + # @see https://developer.dnsimple.com/v2/webhooks/webhooks/#deleteWebhook # # @param account_id [Integer] the account ID # @param webhook_id [#to_s] The webhook ID diff --git a/lib/dnsimple/client/zones.rb b/lib/dnsimple/client/zones.rb index 535cb4f0..6a4ecb9d 100644 --- a/lib/dnsimple/client/zones.rb +++ b/lib/dnsimple/client/zones.rb @@ -5,7 +5,7 @@ class Client module Zones # Lists the zones in the account. # - # @see https://developer.dnsimple.com/v2/zones/#list + # @see https://developer.dnsimple.com/v2/zones/#listZones # @see #all_zones # # @example List zones in the first page @@ -44,7 +44,7 @@ def zones(account_id, options = {}) # Please use this method carefully, as fetching the entire collection will increase the number of requests # you send to the API server and you may eventually risk to hit the throttle limit. # - # @see https://developer.dnsimple.com/v2/zones/#list + # @see https://developer.dnsimple.com/v2/zones/#listZones # @see #zones # # @param account_id [Integer] the account ID @@ -62,7 +62,7 @@ def all_zones(account_id, options = {}) # Gets a zone from the account. # - # @see https://developer.dnsimple.com/v2/zones/#get + # @see https://developer.dnsimple.com/v2/zones/#getZone # # @param account_id [Integer] the account ID # @param zone_id [#to_s] the zone name @@ -79,7 +79,7 @@ def zone(account_id, zone_id, options = {}) # Gets a zone file from the account. # - # @see https://developer.dnsimple.com/v2/zones/#get-file + # @see https://developer.dnsimple.com/v2/zones/#getZoneFile # # @param account_id [Integer] the account ID # @param zone_name [#to_s] the zone name