diff options
Diffstat (limited to 'lib/mixlib/authentication')
-rw-r--r-- | lib/mixlib/authentication/signedheaderauth.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mixlib/authentication/signedheaderauth.rb b/lib/mixlib/authentication/signedheaderauth.rb index f107170..98a8d31 100644 --- a/lib/mixlib/authentication/signedheaderauth.rb +++ b/lib/mixlib/authentication/signedheaderauth.rb @@ -266,6 +266,7 @@ module Mixlib SigningObject = Struct.new(:http_method, :path, :body, :host, :timestamp, :user_id, :file, :proto_version, :headers) do + include SignedHeaderAuth def proto_version @@ -279,7 +280,7 @@ module Mixlib if key self[:headers][key] else - SignedHeaderAuth::DEFAULT_SERVER_API_VERSION + DEFAULT_SERVER_API_VERSION end end end |