Class: SendGridWebApi::SubUserModules::Auth

Inherits:
SendGridWebApi::SubUser show all
Defined in:
lib/sub_user/auth.rb

Instance Attribute Summary

Attributes inherited from Base

#api_key

Instance Method Summary collapse

Methods inherited from SendGridWebApi::SubUser

#base_url

Methods included from SendGridWebApi::SubUserModules

#apps, #auth, #bounces, #event_notification, #iframe, #invalid_emails, #ip_management, #limits, #management, #monitor_records, #parse_email, #spam, #stats, #unsubscribes, #white_label

Methods inherited from Base

#builder_options, #initialize, #make_request_url, #query_api, #query_delete_api, #query_patch_api, #query_post_api, #query_post_json_api, #session, #to_query

Constructor Details

This class inherits a constructor from SendGridWebApi::Base

Instance Method Details

#login(options = {}) ⇒ Object



4
5
6
7
# File 'lib/sub_user/auth.rb', line 4

def  options = {}
  auth_url = "apiv2/customer.auth.json"
  query_api(auth_url, options)
end