lib/dropbox-sign/configuration.rb in dropbox-sign-1.6.0 vs lib/dropbox-sign/configuration.rb in dropbox-sign-1.6.1
- old
+ new
@@ -243,11 +243,11 @@
def basic_auth_token
'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
end
# Returns Auth Settings hash for api client.
- def auth_settings()
+ def auth_settings
result = {}
if basic_auth_token
result['api_key'] = {
type: 'basic',
in: 'header',
@@ -262,11 +262,11 @@
format: 'JWT',
key: 'Authorization',
value: "Bearer #{access_token}"
}
end
- return result
+ result
end
# Returns an array of Server setting
def server_settings
[
@@ -325,9 +325,7 @@
end
end
url
end
-
-
end
end