Sha256: 2e38d9dd24132932c327cf76584b8862e5a69c35f39fb80bd82eb9bd85918878
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
# bandwidth # # This file was automatically generated by APIMATIC v2.0 # ( https://apimatic.io ). module Bandwidth # bandwidth client class. class Client attr_reader :config # Access to voice_client controller. # @return [Voice::Client] Returns the client instance. def voice_client @voice_client ||= Voice::Client.new(config: config) end def initialize(timeout: 60, max_retries: 0, retry_interval: 1, backoff_factor: 1, environment: Environment::PRODUCTION, voice_basic_auth_user_name: 'TODO: Replace', voice_basic_auth_password: 'TODO: Replace', config: nil) @config = if config.nil? Configuration.new(timeout: timeout, max_retries: max_retries, retry_interval: retry_interval, backoff_factor: backoff_factor, environment: environment, voice_basic_auth_user_name: voice_basic_auth_user_name, voice_basic_auth_password: voice_basic_auth_password) else config end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bandwidth-sdk-0.1.0 | lib/bandwidth/client.rb |