ExTwilio.Media
Represents an Media resource in the Twilio API.
Examples
Since Media belong to a Message in Twilio's API, you must pass a Message SID to each function in this module.
ExTwilio.Media.all(message: "message_sid")
Summary
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
Specs
destroy(String.t, list) ::
ExTwilio.Parser.success_delete |
ExTwilio.Parser.error
Specs
new :: %ExTwilio.Media{account_sid: term, content_type: term, date_created: term, date_updated: term, parent_sid: term, sid: term, uri: term}
Specs
new(list) :: %ExTwilio.Media{account_sid: term, content_type: term, date_created: term, date_updated: term, parent_sid: term, sid: term, uri: term}
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.
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.