lib/rails/auth/env.rb in rails-auth-2.0.1 vs lib/rails/auth/env.rb in rails-auth-2.0.2
- old
+ new
@@ -40,10 +40,10 @@
# Set the name of the authority which authorized the request
#
# @param [String] :allowed_by label of what allowed the request
def allowed_by=(allowed_by)
- raise AlreadyAuthorizedError, "already allowed by #{@allowed_by.ispect}" if @allowed_by
+ raise AlreadyAuthorizedError, "already allowed by #{@allowed_by.inspect}" if @allowed_by
raise TypeError, "expected String for allowed_by, got #{allowed_by.class}" unless allowed_by.is_a?(String)
@allowed_by = allowed_by
end
# Return a Rack environment