lib/twilio-ruby/rest/events.rb in twilio-ruby-5.40.1 vs lib/twilio-ruby/rest/events.rb in twilio-ruby-5.40.2
- old
+ new
@@ -27,9 +27,17 @@
def v1
@v1 ||= V1.new self
end
##
+ # @param [String] type The type
+ # @return [Twilio::REST::Events::V1::EventTypeInstance] if type was passed.
+ # @return [Twilio::REST::Events::V1::EventTypeList]
+ def event_types(type=:unset)
+ self.v1.event_types(type)
+ end
+
+ ##
# @param [String] sid A 34 character string that uniquely identifies this Sink.
# @return [Twilio::REST::Events::V1::SinkInstance] if sid was passed.
# @return [Twilio::REST::Events::V1::SinkList]
def sinks(sid=:unset)
self.v1.sinks(sid)
\ No newline at end of file