diff options
Diffstat (limited to 'lib/mixlib/authentication/signedheaderauth.rb')
-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 3119c87..2d49ad1 100644 --- a/lib/mixlib/authentication/signedheaderauth.rb +++ b/lib/mixlib/authentication/signedheaderauth.rb @@ -267,6 +267,7 @@ module Mixlib SigningObject = Struct.new(:http_method, :path, :body, :host, :timestamp, :user_id, :file, :proto_version, :headers) do + include SignedHeaderAuth def proto_version @@ -280,7 +281,7 @@ module Mixlib if key self[:headers][key] else - SignedHeaderAuth::DEFAULT_SERVER_API_VERSION + DEFAULT_SERVER_API_VERSION end end end |