Module: ElasticWeb::Client::Domains

Included in:
ElasticWeb::Client
Defined in:
lib/elasticweb/client/domains.rb

Instance Method Summary collapse

Instance Method Details

#create_domain(account_id, options) ⇒ Object



8
9
10
# File 'lib/elasticweb/client/domains.rb', line 8

def create_domain(, options)
  post("/domain/entry/#{}", options)
end

#delete_domain(domain_name) ⇒ Object



16
17
18
# File 'lib/elasticweb/client/domains.rb', line 16

def delete_domain(domain_name)
  delete("/domain/entry/#{domain_name}")
end

#domains(account_id) ⇒ Object



4
5
6
# File 'lib/elasticweb/client/domains.rb', line 4

def domains()
  get("/domain/list/#{}")
end

#update_domain(domain_name, options) ⇒ Object



12
13
14
# File 'lib/elasticweb/client/domains.rb', line 12

def update_domain(domain_name, options)
  patch("/domain/entry/#{domain_name}", options)
end