oceanex v0.2.4 Oceanex.Resource.DomainRecord

DigitalOcean DomainRecord resource api calls.

Link to this section Summary

Functions

Get a listing of all records configured for a domain.

Create a new record to a domain.

Create a new record to a domain.

Create a new record to a domain.

Create a new record to a domain.

Link to this section Functions

Link to this function

all(domain_name, opts \\ %{})

Get a listing of all records configured for a domain.

Link to this function

create(domain_name, opts)

Create a new record to a domain.

Examples

Oceanex.Resource.DomainRecord.create(domain_name, %{type: type, name: name, data: data,
priority: priority, port: port, weight: weight})
Link to this function

destroy(domain_name, record_id)

Create a new record to a domain.

Link to this function

find(domain_name, record_id)

Create a new record to a domain.

Link to this function

update(domain_name, record_id, opts)

Create a new record to a domain.

Examples

Oceanex.Resource.DomainRecord.update(domain_name, record_id, %{type: type, name: name, data: data,
priority: priority, port: port, weight: weight})