module ElasticWeb::Client::Domains
Public Instance Methods
create_domain(account_id, options)
click to toggle source
# File lib/elasticweb/client/domains.rb, line 8 def create_domain(account_id, options) post("/domain/entry/#{account_id}", options) end
delete_domain(domain_name)
click to toggle source
# File lib/elasticweb/client/domains.rb, line 16 def delete_domain(domain_name) delete("/domain/entry/#{domain_name}") end
domains(account_id)
click to toggle source
# File lib/elasticweb/client/domains.rb, line 4 def domains(account_id) get("/domain/list/#{account_id}") end
update_domain(domain_name, options)
click to toggle source
# File lib/elasticweb/client/domains.rb, line 12 def update_domain(domain_name, options) patch("/domain/entry/#{domain_name}", options) end