lib/twilio-ruby/rest/conversations/v1/service/configuration.rb in twilio-ruby-5.61.1 vs lib/twilio-ruby/rest/conversations/v1/service/configuration.rb in twilio-ruby-5.61.2
- old
+ new
@@ -75,10 +75,11 @@
@solution = {chat_service_sid: chat_service_sid, }
@uri = "/Services/#{@solution[:chat_service_sid]}/Configuration"
# Components
@notifications = nil
+ @webhooks = nil
end
##
# Fetch the ConfigurationInstance
# @return [ConfigurationInstance] Fetched ConfigurationInstance
@@ -123,9 +124,16 @@
##
# Access the notifications
# @return [NotificationContext] NotificationContext
def notifications
return NotificationContext.new(@version, @solution[:chat_service_sid], )
+ end
+
+ ##
+ # Access the webhooks
+ # @return [WebhookContext] WebhookContext
+ def webhooks
+ return WebhookContext.new(@version, @solution[:chat_service_sid], )
end
##
# Provide a user friendly representation
def to_s
\ No newline at end of file