Sha256: c4d64c5586bdc08d904623491a654204c24d8948fa78be4f4dbb770f6ca7d288

Contents?: true

Size: 323 Bytes

Versions: 10

Compression:

Stored size: 323 Bytes

Contents

module SendGridWebApi::Modules
  class Spam < SendGridWebApi::Client
    def get options = {}
      spam_get_url = "spamreports.get.json"
      query_api(spam_get_url, options)
    end

    def delete options = {}
      spam_delete_url = "spamreports.delete.json"
      query_api(spam_delete_url, options)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sendgrid_webapi-0.1.2 lib/web_api/spam.rb
sendgrid_webapi-0.1.1 lib/web_api/spam.rb
sendgrid_webapi-0.1.0 lib/web_api/spam.rb
sendgrid_webapi-0.0.8 lib/web_api/spam.rb
sendgrid_webapi-0.0.6 lib/web_api/spam.rb
sendgrid_webapi-0.0.5 lib/web_api/spam.rb
sendgrid_webapi-0.0.4 lib/web_api/spam.rb
sendgrid_webapi-0.0.3 lib/web_api/spam.rb
sendgrid_webapi-0.0.2 lib/web_api/spam.rb
sendgrid_webapi-0.0.1 lib/web_api/spam.rb