lib/braintree/configuration.rb in braintree-2.70.0 vs lib/braintree/configuration.rb in braintree-2.71.0

- old
+ new

@@ -15,11 +15,12 @@ NON_REQUIRED_READABLE_ATTRIBUTES = [ :proxy_address, :proxy_port, :proxy_user, - :proxy_pass + :proxy_pass, + :ssl_version ] WRITABLE_ATTRIBUTES = [ :custom_user_agent, :endpoint, @@ -31,11 +32,12 @@ :private_key, :environment, :proxy_address, :proxy_port, :proxy_user, - :proxy_pass + :proxy_pass, + :ssl_version ] class << self attr_writer *WRITABLE_ATTRIBUTES attr_reader *NON_REQUIRED_READABLE_ATTRIBUTES @@ -79,10 +81,11 @@ :private_key => private_key, :public_key => public_key, :proxy_address => proxy_address, :proxy_port => proxy_port, :proxy_user => proxy_user, - :proxy_pass => proxy_pass + :proxy_pass => proxy_pass, + :ssl_version => ssl_version ) end def self.http_open_timeout @http_open_timeout ||= 60