ExTwilio v0.4.0 ExTwilio.Feedback View Source

Represents a Call Feedback resource in the Twilio API.

Examples

Since Call Feedback is a nested resource in the Twilio API, you must pass in a parent Call SID to all functions in this module.

ExTwilio.Feedback.create([quality_score: 5], [call: "call_sid"])
ExTwilio.Feedback.find(call: "call_sid")

Link to this section Summary

Functions

Find feedback for a given call. Any options other than [call: "sid"] will result in a FunctionClauseError

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

Link to this section Functions

Link to this function children() View Source
children() :: list
Link to this function do_new(struct, list) View Source
do_new(%ExTwilio.Feedback{issues: term, quality_score: term}, list) :: %ExTwilio.Feedback{issues: term, quality_score: term}

Find feedback for a given call. Any options other than [call: "sid"] will result in a FunctionClauseError.

Example

ExTwilio.Feedback.find(call: "sid")
%ExTwilio.Feedback{issues: [], quality_score: 5}
Link to this function new() View Source
new() :: %ExTwilio.Feedback{issues: term, quality_score: term}
Link to this function new(attrs) View Source
new(list) :: %ExTwilio.Feedback{issues: term, quality_score: term}
Link to this function parents() View Source
parents() :: list
Link to this function resource_collection_name() View Source

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.