lib/jsonapi/authorization.rb in jsonapi-authorization-0.4.0 vs lib/jsonapi/authorization.rb in jsonapi-authorization-0.5.0

- old
+ new

@@ -1,12 +1,15 @@ require "jsonapi-resources" +require "jsonapi/authorization/authorizing_operations_processor" require "jsonapi/authorization/configuration" require "jsonapi/authorization/default_pundit_authorizer" -require "jsonapi/authorization/pundit_operations_processor" require "jsonapi/authorization/pundit_scoped_resource" require "jsonapi/authorization/version" module JSONAPI module Authorization # Your code goes here... end end + +# Allows JSONAPI configuration of operations_processor using the symbol :jsonapi_authorization +JsonapiAuthorizationOperationsProcessor = JSONAPI::Authorization::AuthorizingOperationsProcessor