ExTwilio v0.2.0 ExTwilio.Message

Represents an Message resource in the Twilio API.

Summary

Functions

Underscored and lowercased collection name for a given resource. Delegates the real work to ExTwilio.Api.resource_collection_name/1 by default

CamelCase resource name as it would be used in Twilio's API. Delegates the real work to ExTwilio.Api.resource_name/1 by default

Functions

all(options \\ [])

Specs

all(list) :: [map]
children()

Specs

children :: list
create(data, options \\ [])
destroy(sid, options \\ [])
find(sid, options \\ [])

Specs

new()

Specs

new :: %ExTwilio.Message{account_sid: term, api_version: term, body: term, date_created: term, date_sent: term, date_updated: term, direction: term, error_code: term, error_message: term, from: term, num_media: term, num_segments: term, price: term, price_unit: term, sid: term, status: term, subresource_uri: term, to: term, uri: term}
new(attrs)

Specs

new(list) :: %ExTwilio.Message{account_sid: term, api_version: term, body: term, date_created: term, date_sent: term, date_updated: term, direction: term, error_code: term, error_message: term, from: term, num_media: term, num_segments: term, price: term, price_unit: term, sid: term, status: term, subresource_uri: term, to: term, uri: term}
parents()

Specs

parents :: list
resource_collection_name()

Underscored and lowercased collection name for a given resource. Delegates the real work to ExTwilio.Api.resource_collection_name/1 by default.

Override in your module before use ExTwilio.Resource if you need something different.

resource_name()

CamelCase resource name as it would be used in Twilio's API. Delegates the real work to ExTwilio.Api.resource_name/1 by default.

Override in your module before use ExTwilio.Resource if you need something different.

stream(options \\ [])
update(sid, data, options \\ [])