Sha256: 1ff842328081474343c57a8bd3ce24357b5d05110c8b61dd9eb5f9c564d1790a

Contents?: true

Size: 764 Bytes

Versions: 11

Compression:

Stored size: 764 Bytes

Contents

module SendGridWebApi::Modules
  class Profile < SendGridWebApi::Client
    def get options = {}
      profile_get_url = "profile.get.json"
      query_api(profile_get_url, options)
    end

    def set options = {}
      profile_set_url = "profile.set.json"
      query_api(profile_set_url, options)
    end

    def set_password options = {}
      profile_set_password_url = "password.set.json"
      query_api(profile_set_password_url, options)
    end

    def set_username options = {}
      profile_set_username_url = "profile.setUsername.json"
      query_api(profile_set_username_url, options)
    end

    def set_email options = {}
      profile_set_email_url = "profile.setEmail.json"
      query_api(profile_set_email_url, options)
    end

  end  
end

Version data entries

11 entries across 11 versions & 1 rubygems

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