Sha256: 97360eb1b8a9c0f0887081432de0744f9d53e1ce87dac5a500d54f81f54665f7
Contents?: true
Size: 590 Bytes
Versions: 5
Compression:
Stored size: 590 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. # Example: # Twilio.connect('my_twilio_sid', 'my_auth_token') # Twilio::Notification.list class Notification < TwilioObject def list(opts = {}) Twilio.get('/Notifications', :query => (opts.empty? ? nil : opts)) end def get(notification_sid) Twilio.get("/Notifications/#{notification_sid}") end def delete(notification_sid) Twilio.delete("/Notifications/#{notification_sid}") end end end
Version data entries
5 entries across 5 versions & 2 rubygems