class Twilio::REST::Messaging::V1::ExternalCampaignPage
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the ExternalCampaignPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [ExternalCampaignPage] ExternalCampaignPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/messaging/v1/external_campaign.rb 62 def initialize(version, response, solution) 63 super(version, response) 64 65 # Path Solution 66 @solution = solution 67 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of ExternalCampaignInstance
@param [Hash] payload Payload response from the API @return [ExternalCampaignInstance] ExternalCampaignInstance
# File lib/twilio-ruby/rest/messaging/v1/external_campaign.rb 73 def get_instance(payload) 74 ExternalCampaignInstance.new(@version, payload, ) 75 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/messaging/v1/external_campaign.rb 79 def to_s 80 '<Twilio.Messaging.V1.ExternalCampaignPage>' 81 end