lib/createsend/createsend.rb in createsend-3.3.0 vs lib/createsend/createsend.rb in createsend-3.4.0
- old
+ new
@@ -44,9 +44,12 @@
# Provides high level CreateSend functionality/data you'll probably need.
class CreateSend
include HTTParty
attr_reader :auth_details
+ # Specify cert authority file for cert validation
+ ssl_ca_file File.expand_path(File.join(File.dirname(__FILE__), 'cacert.pem'))
+
# Set a custom user agent string to be used when instances of
# CreateSend::CreateSend make API calls.
#
# user_agent - The user agent string to use in the User-Agent header when
# instances of this class make API calls. If set to nil, the
\ No newline at end of file