lib/twilio-ruby/rest/api/v2010/account/notification.rb in twilio-ruby-5.28.0 vs lib/twilio-ruby/rest/api/v2010/account/notification.rb in twilio-ruby-5.29.0
- old
+ new
@@ -217,17 +217,10 @@
sid: @solution[:sid],
)
end
##
- # Deletes the NotificationInstance
- # @return [Boolean] true if delete succeeds, false otherwise
- def delete
- @version.delete('delete', @uri)
- end
-
- ##
# Provide a user friendly representation
def to_s
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
"#<Twilio.Api.V2010.NotificationContext #{context}>"
end
@@ -396,16 +389,9 @@
##
# Fetch a NotificationInstance
# @return [NotificationInstance] Fetched NotificationInstance
def fetch
context.fetch
- end
-
- ##
- # Deletes the NotificationInstance
- # @return [Boolean] true if delete succeeds, false otherwise
- def delete
- context.delete
end
##
# Provide a user friendly representation
def to_s
\ No newline at end of file