Module: Dnsimple::Client::TemplatesDomains
- Included in:
- TemplatesService
- Defined in:
- lib/dnsimple/client/templates_domains.rb
Instance Method Summary collapse
-
#apply_template(domain, template, options = {}) ⇒ void
(also: #apply)
Applies the template to the domain.
Instance Method Details
#apply_template(domain, template, options = {}) ⇒ void Also known as: apply
This method returns an undefined value.
Applies the template to the domain.
15 16 17 18 |
# File 'lib/dnsimple/client/templates_domains.rb', line 15 def apply_template(domain, template, = {}) response = client.post(Client.versioned("/domains/#{domain}/templates/#{template}/apply"), ) response.code == 200 end |