lib/hello_sign/configuration.rb in hellosign-ruby-sdk-3.6 vs lib/hello_sign/configuration.rb in hellosign-ruby-sdk-3.6.1
- old
+ new
@@ -31,11 +31,11 @@
#
module Configuration
DEFAULT_ENDPOINT = 'https://api.hellosign.com'
DEFAULT_API_VERSION = '/v3'
DEFAULT_OAUTH_ENDPOINT = 'https://app.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, :proxy_uri, :proxy_user, :proxy_pass]
+ 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, :timeout]
DEFAULT_USER_AGENT = "hellosign-ruby-sdk/" + HelloSign::VERSION
attr_accessor *VALID_OPTIONS_KEYS
@@ -75,8 +75,9 @@
self.log_level = 3
self.logging = true
self.proxy_uri = nil
self.proxy_user = nil
self.proxy_pass = nil
+ self.timeout = nil
end
end
end