lib/restfulness/requests/authorization.rb in restfulness-0.3.3 vs lib/restfulness/requests/authorization.rb in restfulness-0.3.4

- old
+ new

@@ -4,19 +4,17 @@ module Authorization def authorization @authorization ||= begin payload = authorization_header_payload - AuthorizationHeader.new(payload) unless payload.nil? + AuthorizationHeader.new(payload) unless payload.blank? end end private def authorization_header_payload headers[:authorization] end - end - end end