Module: Dnsimple

Defined in:
lib/dnsimple.rb,
lib/dnsimple/error.rb,
lib/dnsimple/extra.rb,
lib/dnsimple/client.rb,
lib/dnsimple/struct.rb,
lib/dnsimple/default.rb,
lib/dnsimple/options.rb,
lib/dnsimple/version.rb,
lib/dnsimple/response.rb,
lib/dnsimple/struct/tld.rb,
lib/dnsimple/client/tlds.rb,
lib/dnsimple/struct/user.rb,
lib/dnsimple/struct/zone.rb,
lib/dnsimple/client/oauth.rb,
lib/dnsimple/client/zones.rb,
lib/dnsimple/struct/dnssec.rb,
lib/dnsimple/struct/domain.rb,
lib/dnsimple/struct/whoami.rb,
lib/dnsimple/client/clients.rb,
lib/dnsimple/client/domains.rb,
lib/dnsimple/struct/account.rb,
lib/dnsimple/struct/contact.rb,
lib/dnsimple/struct/service.rb,
lib/dnsimple/struct/webhook.rb,
lib/dnsimple/client/accounts.rb,
lib/dnsimple/client/contacts.rb,
lib/dnsimple/client/identity.rb,
lib/dnsimple/client/services.rb,
lib/dnsimple/client/webhooks.rb,
lib/dnsimple/struct/template.rb,
lib/dnsimple/client/registrar.rb,
lib/dnsimple/client/templates.rb,
lib/dnsimple/struct/zone_file.rb,
lib/dnsimple/struct/certificate.rb,
lib/dnsimple/struct/domain_push.rb,
lib/dnsimple/struct/oauth_token.rb,
lib/dnsimple/struct/zone_record.rb,
lib/dnsimple/client/certificates.rb,
lib/dnsimple/struct/collaborator.rb,
lib/dnsimple/struct/domain_check.rb,
lib/dnsimple/struct/domain_price.rb,
lib/dnsimple/client/zones_records.rb,
lib/dnsimple/struct/email_forward.rb,
lib/dnsimple/struct/whois_privacy.rb,
lib/dnsimple/client/domains_dnssec.rb,
lib/dnsimple/client/domains_pushes.rb,
lib/dnsimple/struct/domain_renewal.rb,
lib/dnsimple/struct/domain_transfer.rb,
lib/dnsimple/struct/template_record.rb,
lib/dnsimple/client/services_domains.rb,
lib/dnsimple/client/templates_domains.rb,
lib/dnsimple/client/templates_records.rb,
lib/dnsimple/struct/zone_distribution.rb,
lib/dnsimple/struct/certificate_bundle.rb,
lib/dnsimple/struct/extended_attribute.rb,
lib/dnsimple/struct/vanity_name_server.rb,
lib/dnsimple/client/vanity_name_servers.rb,
lib/dnsimple/client/zones_distributions.rb,
lib/dnsimple/struct/certificate_renewal.rb,
lib/dnsimple/struct/domain_registration.rb,
lib/dnsimple/client/registrar_delegation.rb,
lib/dnsimple/struct/certificate_purchase.rb,
lib/dnsimple/struct/domain_premium_price.rb,
lib/dnsimple/client/domains_collaborators.rb,
lib/dnsimple/struct/whois_privacy_renewal.rb,
lib/dnsimple/client/domains_email_forwards.rb,
lib/dnsimple/client/registrar_auto_renewal.rb,
lib/dnsimple/client/registrar_whois_privacy.rb,
lib/dnsimple/struct/delegation_signer_record.rb,
lib/dnsimple/client/domains_delegation_signer_records.rb

Defined Under Namespace

Modules: Default, Extra, Options, Struct, V2 Classes: AuthenticationError, AuthenticationFailed, Client, CollectionResponse, Error, NotFoundError, PaginatedResponse, RequestError, Response

Constant Summary collapse

VERSION =
"7.0.0"

Class Method Summary collapse

Class Method Details

.deprecate(message = nil) ⇒ void

This method returns an undefined value.

Echoes a deprecation warning message.

Parameters:

  • message (String) (defaults to: nil)

    The message to display.



12
13
14
15
# File 'lib/dnsimple.rb', line 12

def self.deprecate(message = nil)
  message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
  warn("DEPRECATION WARNING: #{message}")
end