lib/sendgrid4r/client.rb in sendgrid4r-1.11.0 vs lib/sendgrid4r/client.rb in sendgrid4r-1.12.0
- old
+ new
@@ -5,12 +5,15 @@
# 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
+ 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