digitalocean v0.1.1 DigitalOcean.Domain.Record
API methods for interacting with the Domain Record
module.
See the Domain Record Reference.
Summary
Functions
Create a new Domain Record
Similar to create/2
but returns the response body only
Delete a Domain Record
Similar to delete/2
but returns the response body only
List all Records for a Domain
Similar to list/0
but returns the response body only
Get an existing Record for a Domain
Similar to show/2
but returns the response body only
Update an existing Domain Record
Similar to update/3
but returns the response body only
Functions
Create a new Domain Record.
Example
iex> DigitalOcean.Domain.Record.create("example.com",
%{type: "A", name: "www", data: "162.10.66.0"})
Similar to create/2
but returns the response body only.
Similar to delete/2
but returns the response body only.
Get an existing Record for a Domain.
Example
iex> DigitalOcean.Domain.Record.show("example.com", 3352896)
Similar to show/2
but returns the response body only.
Update an existing Domain Record.
Example
iex> DigitalOcean.Domain.Record.update("example.com", 3352896, %{name: "blog"})
Similar to update/3
but returns the response body only.