./lib/strongdm.rb in strongdm-3.3.2 vs ./lib/strongdm.rb in strongdm-3.5.0
- old
+ new
@@ -27,10 +27,10 @@
class Client
DEFAULT_MAX_RETRIES = 3
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
API_VERSION = "2021-08-23"
- USER_AGENT = "strongdm-sdk-ruby/3.3.2"
+ USER_AGENT = "strongdm-sdk-ruby/3.5.0"
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
# Creates a new strongDM API client.
def initialize(api_access_key, api_secret_key, host: "api.strongdm.com:443", insecure: false, retry_rate_limit_errors: true)
raise TypeError, "client access key must be a string" unless api_access_key.kind_of?(String)