Sha256: 5a0514cd5d0d0fdbac11fc3ce1a9702273eb628cdfde93cce99ad9f7ef71aa1d

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

# -*- encoding: utf-8 -*-

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

    attr_accessor :raw_resp

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sendgrid4r-1.15.0 lib/sendgrid4r/client.rb
sendgrid4r-1.14.0 lib/sendgrid4r/client.rb
sendgrid4r-1.13.0 lib/sendgrid4r/client.rb
sendgrid4r-1.12.0 lib/sendgrid4r/client.rb