lib/jsonapi/authorization.rb in jsonapi-authorization-0.6.1 vs lib/jsonapi/authorization.rb in jsonapi-authorization-0.8.0
- old
+ new
@@ -1,7 +1,7 @@
require "jsonapi-resources"
-require "jsonapi/authorization/authorizing_operations_processor"
+require "jsonapi/authorization/authorizing_processor"
require "jsonapi/authorization/configuration"
require "jsonapi/authorization/default_pundit_authorizer"
require "jsonapi/authorization/pundit_scoped_resource"
require "jsonapi/authorization/version"
@@ -10,6 +10,6 @@
# Your code goes here...
end
end
# Allows JSONAPI configuration of operations_processor using the symbol :jsonapi_authorization
-JsonapiAuthorizationOperationsProcessor = JSONAPI::Authorization::AuthorizingOperationsProcessor
+JsonapiAuthorizationProcessor = JSONAPI::Authorization::AuthorizingProcessor