diff --git a/lib/simple_oauth/header.rb b/lib/simple_oauth/header.rb index 384a8c3..6b57841 100644 --- a/lib/simple_oauth/header.rb +++ b/lib/simple_oauth/header.rb @@ -72,7 +72,7 @@ module SimpleOAuth end def attributes - ATTRIBUTE_KEYS.inject({}){|a,k| options.key?(k) ? a.merge(:"oauth_#{k}" => options[k]) : a } + ATTRIBUTE_KEYS.inject({}){|a,k| options[k] ? a.merge(:"oauth_#{k}" => options[k]) : a } end def signature