Module: DNSimple

Defined in:
lib/dnsimple.rb,
lib/dnsimple/cli.rb,
lib/dnsimple/base.rb,
lib/dnsimple/user.rb,
lib/dnsimple/error.rb,
lib/dnsimple/record.rb,
lib/dnsimple/domain.rb,
lib/dnsimple/client.rb,
lib/dnsimple/contact.rb,
lib/dnsimple/service.rb,
lib/dnsimple/version.rb,
lib/dnsimple/template.rb,
lib/dnsimple/commands/me.rb,
lib/dnsimple/certificate.rb,
lib/dnsimple/transfer_order.rb,
lib/dnsimple/template_record.rb,
lib/dnsimple/extended_attribute.rb,
lib/dnsimple/commands/record_list.rb,
lib/dnsimple/commands/domain_list.rb,
lib/dnsimple/commands/service_add.rb,
lib/dnsimple/commands/domain_check.rb,
lib/dnsimple/commands/service_list.rb,
lib/dnsimple/commands/contact_list.rb,
lib/dnsimple/commands/domain_clear.rb,
lib/dnsimple/commands/record_create.rb,
lib/dnsimple/commands/domain_create.rb,
lib/dnsimple/commands/record_delete.rb,
lib/dnsimple/commands/domain_delete.rb,
lib/dnsimple/commands/template_list.rb,
lib/dnsimple/commands/record_update.rb,
lib/dnsimple/commands/contact_create.rb,
lib/dnsimple/commands/service_remove.rb,
lib/dnsimple/commands/contact_update.rb,
lib/dnsimple/commands/contact_delete.rb,
lib/dnsimple/commands/record_describe.rb,
lib/dnsimple/commands/template_delete.rb,
lib/dnsimple/commands/domain_transfer.rb,
lib/dnsimple/commands/template_create.rb,
lib/dnsimple/commands/domain_describe.rb,
lib/dnsimple/commands/domain_register.rb,
lib/dnsimple/commands/service_describe.rb,
lib/dnsimple/commands/certificate_list.rb,
lib/dnsimple/commands/contact_describe.rb,
lib/dnsimple/commands/certificate_submit.rb,
lib/dnsimple/commands/certificate_purchase.rb,
lib/dnsimple/commands/certificate_describe.rb,
lib/dnsimple/commands/template_record_list.rb,
lib/dnsimple/commands/service_list_applied.rb,
lib/dnsimple/commands/domain_apply_template.rb,
lib/dnsimple/commands/service_list_available.rb,
lib/dnsimple/commands/template_record_delete.rb,
lib/dnsimple/commands/template_record_create.rb,
lib/dnsimple/commands/extended_attribute_list.rb

Defined Under Namespace

Modules: Commands Classes: AuthenticationFailed, Base, CLI, Certificate, Client, CommandNotFound, Contact, Domain, Error, ExtendedAttribute, Record, RecordExists, RecordNotFound, RequestError, Service, Template, TemplateRecord, TransferOrder, User

Constant Summary

BLANK_REGEX =
/\S+/
VERSION =
'1.5.3'

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.



14
15
16
17
# File 'lib/dnsimple.rb', line 14

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