Sha256: d40d180364c8877d950bdd6f3cbda36cff062b8d0a180ef17a0cfeab9a860a84
Contents?: true
Size: 555 Bytes
Versions: 11
Compression:
Stored size: 555 Bytes
Contents
module SendGridWebApi::SubUserModules class EventNotification < SendGridWebApi::SubUser EVENT_URL = "apiv2/customer.eventposturl.json" def get options = {} options.merge!({:task => "get"}) unless options[:task] query_api(EVENT_URL, options) end def set options = {} options.merge!({:task => "set"}) unless options[:task] query_api(EVENT_URL, options) end def delete options = {} options.merge!({:task => "delete"}) unless options[:task] query_api(EVENT_URL, options) end end end
Version data entries
11 entries across 11 versions & 1 rubygems