Sha256: 45b356f4f0af47ef62d8ce9e8bd1187e5c10bfc7387a8b63b8e01e684b15d3bf
Contents?: true
Size: 409 Bytes
Versions: 11
Compression:
Stored size: 409 Bytes
Contents
module SendGridWebApi::SubUserModules class Bounce < SendGridWebApi::SubUser BOUNCE_URL = "api/user.bounces.json" def get options = {} options.merge!({:task => "get"}) unless options[:task] query_api(BOUNCE_URL, options) end def delete options = {} options.merge!({:task => "delete"}) unless options[:task] query_api(BOUNCE_URL, options) end end end
Version data entries
11 entries across 11 versions & 1 rubygems