Module: Dnsimple::Client::TemplatesDomains
- Included in:
- TemplatesService
- Defined in:
- lib/dnsimple/client/templates_domains.rb
Instance Method Summary collapse
-
#apply_template(account_id, template_id, domain_id, options = {}) ⇒ Dnsimple::Response<nil>
Applies a template to the domain.
Instance Method Details
#apply_template(account_id, template_id, domain_id, options = {}) ⇒ Dnsimple::Response<nil>
Applies a template to the domain.
22 23 24 25 26 27 |
# File 'lib/dnsimple/client/templates_domains.rb', line 22 def apply_template(account_id, template_id, domain_id, = {}) endpoint = Client.versioned("/%s/domains/%s/templates/%s" % [account_id, domain_id, template_id]) response = client.post(endpoint, ) Dnsimple::Response.new(response, nil) end |