class Sendgrid::API::Client

Attributes

key[R]
user[R]

Public Class Methods

new(user, key) click to toggle source
# File lib/sendgrid/api/client.rb, line 30
def initialize(user, key)
  @user = user
  @key = key
end

Private Instance Methods

resource() click to toggle source
# File lib/sendgrid/api/client.rb, line 37
def resource
  @resource ||= REST::Resource.new(user, key)
end