ExTwilio v0.1.9 ExTwilio.Call

Represents an Call 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]
cancel(sid)
children()

Specs

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

Specs

create(list, list) :: ExTwilio.Parser.parsed_response
destroy(sid, options \\ [])
find(sid, options \\ [])

Specs

new()

Specs

new :: %ExTwilio.Call{account_sid: term, answered_by: term, caller_name: term, date_created: term, date_updated: term, direction: term, duration: term, end_time: term, forwarded_from: term, from: term, parent_call_sid: term, phone_number_sid: term, price: term, price_unit: term, sid: term, start_time: term, status: term, to: term, uri: term}
new(attrs)

Specs

new(list) :: %ExTwilio.Call{account_sid: term, answered_by: term, caller_name: term, date_created: term, date_updated: term, direction: term, duration: term, end_time: term, forwarded_from: term, from: term, parent_call_sid: term, phone_number_sid: term, price: term, price_unit: term, sid: term, start_time: term, status: 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 \\ [])

Specs

update(String.t, list, list) :: ExTwilio.Parser.parsed_response