lib/bandwidth-sdk/configuration.rb in bandwidth-sdk-11.0.0.pre.beta.1.1 vs lib/bandwidth-sdk/configuration.rb in bandwidth-sdk-11.0.0.pre.beta.2.0
- old
+ new
@@ -4,11 +4,11 @@
#Bandwidth's Communication APIs
The version of the OpenAPI document: 1.0.0
Contact: letstalk@bandwidth.com
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 6.4.0
+OpenAPI Generator version: 6.5.0
=end
module Bandwidth
class Configuration
@@ -222,11 +222,11 @@
end
end
# Gets access_token using access_token_getter or uses the static access_token
def access_token_with_refresh
- return access_token if access_token_getter.nil?
- access_token_getter.call
+ return access_token if access_token_getter.nil?
+ access_token_getter.call
end
# Gets Basic Auth token string
def basic_auth_token
'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")