lib/hello_sign/configuration.rb in hellosign-ruby-sdk-3.2.1 vs lib/hello_sign/configuration.rb in hellosign-ruby-sdk-3.2.2
- old
+ new
@@ -31,11 +31,11 @@
#
module Configuration
DEFAULT_ENDPOINT = 'https://api.hellosign.com'
DEFAULT_API_VERSION = '/v3'
DEFAULT_OAUTH_ENDPOINT = 'https://www.hellosign.com'
- VALID_OPTIONS_KEYS = [:end_point, :oauth_end_point, :api_version, :user_agent, :client_id, :client_secret, :email_address, :password, :api_key, :auth_token, :log_level, :logging]
+ VALID_OPTIONS_KEYS = [:end_point, :oauth_end_point, :api_version, :user_agent, :client_id, :client_secret, :email_address, :password, :api_key, :auth_token, :log_level, :logging, :proxy_uri, :proxy_user, :proxy_pass]
DEFAULT_USER_AGENT = "hellosign-ruby-sdk/" + HelloSign::VERSION
attr_accessor *VALID_OPTIONS_KEYS
@@ -72,8 +72,11 @@
self.oauth_end_point = DEFAULT_OAUTH_ENDPOINT
self.api_version = DEFAULT_API_VERSION
self.user_agent = DEFAULT_USER_AGENT
self.log_level = 3
self.logging = true
+ self.proxy_uri = nil
+ self.proxy_user = nil
+ self.proxy_pass = nil
end
end
end