class SendGridWebApi::Modules::Profile

Public Instance Methods

get(options = {}) click to toggle source
# File lib/web_api/profile.rb, line 3
def get options = {}
  profile_get_url = "profile.get.json"
  query_api(profile_get_url, options)
end
set(options = {}) click to toggle source
# File lib/web_api/profile.rb, line 8
def set options = {}
  profile_set_url = "profile.set.json"
  query_api(profile_set_url, options)
end
set_email(options = {}) click to toggle source
# File lib/web_api/profile.rb, line 23
def set_email options = {}
  profile_set_email_url = "profile.setEmail.json"
  query_api(profile_set_email_url, options)
end
set_password(options = {}) click to toggle source
# File lib/web_api/profile.rb, line 13
def set_password options = {}
  profile_set_password_url = "password.set.json"
  query_api(profile_set_password_url, options)
end
set_username(options = {}) click to toggle source
# File lib/web_api/profile.rb, line 18
def set_username options = {}
  profile_set_username_url = "profile.setUsername.json"
  query_api(profile_set_username_url, options)
end