Module: ElasticWeb::Client::Domains
- Included in:
- ElasticWeb::Client
- Defined in:
- lib/elasticweb/client/domains.rb
Instance Method Summary collapse
- #create_domain(account_id, options) ⇒ Object
- #delete_domain(domain_name) ⇒ Object
- #domains(account_id) ⇒ Object
- #update_domain(domain_name, options) ⇒ Object
Instance Method Details
#create_domain(account_id, options) ⇒ Object
8 9 10 |
# File 'lib/elasticweb/client/domains.rb', line 8 def create_domain(account_id, ) post("/domain/entry/#{account_id}", ) 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(account_id) get("/domain/list/#{account_id}") end |
#update_domain(domain_name, options) ⇒ Object
12 13 14 |
# File 'lib/elasticweb/client/domains.rb', line 12 def update_domain(domain_name, ) patch("/domain/entry/#{domain_name}", ) end |