Sha256: 9b289b9b4bd569dda7b2bbaf8c82335bb70697f707a248ce10cd9808ca042a0f

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

# -*- encoding: utf-8 -*-
$LOAD_PATH.unshift File.dirname(__FILE__)

require 'auth'
require 'sendgrid4r/rest/api'
require 'sendgrid4r/factory/version_factory'
require 'sendgrid4r/factory/condition_factory'
require 'sendgrid4r/factory/segment_factory'

module SendGrid4r
  #
  # SendGrid Web API v3 Client implementation
  #
  class Client
    include SendGrid4r::REST::API

    def initialize(
      username: username, password: password, api_key: api_key = nil
    )
      @auth = Auth.new(username: username, password: password, api_key: api_key)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sendgrid4r-1.1.0 lib/client.rb
sendgrid4r-1.0.0 lib/client.rb
sendgrid4r-0.5.0 lib/client.rb
sendgrid4r-0.4.0 lib/client.rb