Class: Twilio::REST::Conversations::V1::ServiceContext::ConfigurationContext::WebhookList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, chat_service_sid: nil) ⇒ WebhookList

Initialize the WebhookList

Parameters:

  • version (Version)

    Version that contains the resource

  • chat_service_sid (String) (defaults to: nil)

    The unique string that we created to identify the Service configuration resource.


22
23
24
25
26
27
# File 'lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb', line 22

def initialize(version, chat_service_sid: nil)
  super(version)

  # Path Solution
  @solution = {chat_service_sid: chat_service_sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation


31
32
33
# File 'lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb', line 31

def to_s
  '#<Twilio.Conversations.V1.WebhookList>'
end