Module: ElasticWeb::Client::DNS
- Included in:
- ElasticWeb::Client
- Defined in:
- lib/elasticweb/client/dns.rb
Instance Method Summary collapse
- #create_dns(domain_name, options) ⇒ Object
- #delete_dns(id) ⇒ Object
- #dns(id) ⇒ Object
- #domain_dns(domain_name) ⇒ Object
Instance Method Details
#create_dns(domain_name, options) ⇒ Object
12 13 14 |
# File 'lib/elasticweb/client/dns.rb', line 12 def create_dns(domain_name, ) post("/dns/entry/#{domain_name}", ) end |
#delete_dns(id) ⇒ Object
16 17 18 |
# File 'lib/elasticweb/client/dns.rb', line 16 def delete_dns(id) delete("/dns/entry/#{id}") end |
#dns(id) ⇒ Object
8 9 10 |
# File 'lib/elasticweb/client/dns.rb', line 8 def dns(id) get("/dns/entry/#{id}") end |
#domain_dns(domain_name) ⇒ Object
4 5 6 |
# File 'lib/elasticweb/client/dns.rb', line 4 def domain_dns(domain_name) get("/dns/list/#{domain_name}") end |