Sha256: fdf0434ad8b67681225c4ed3b1c39856c3cf1834cdc915c0a7328b1429800e67

Contents?: true

Size: 521 Bytes

Versions: 6

Compression:

Stored size: 521 Bytes

Contents

module Twilio
  # A Notification represenents a log entry made by Twilio in the course of handling 
  # your calls or using the REST API.
  class Notification < TwilioObject
    def list(optional = {})
      self.connection.class.get('/Notifications', :query => optional)
    end
    
    def get(notification_sid)
      self.connection.class.get("/Notifications/#{notification_sid}")
    end
    
    def delete(notification_sid)
      self.connection.class.delete("/Notifications/#{notification_sid}")
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
webficient-twilio-1.3.0 lib/twilio/notification.rb
webficient-twilio-1.4.0 lib/twilio/notification.rb
webficient-twilio-2.0.0 lib/twilio/notification.rb
webficient-twilio-2.1.0 lib/twilio/notification.rb
webficient-twilio-2.2.0 lib/twilio/notification.rb
twilio-1.4.0 lib/twilio/notification.rb