Sha256: dbb714bcf75f68e25fe18727cb90b1886b9a27b8215d79d27ff389c474688e83

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

module Twilio
  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

2 entries across 2 versions & 1 rubygems

Version Path
webficient-twilio-1.0.0 lib/twilio/notification.rb
webficient-twilio-1.2.0 lib/twilio/notification.rb