Sha256: 6790d269d04c271036572aa7d70d2830a8eeba582149e505dbe9ada06dedb5bb
Contents?: true
Size: 443 Bytes
Versions: 5
Compression:
Stored size: 443 Bytes
Contents
require 'jsonapi/authorization/default_pundit_authorizer' module JSONAPI module Authorization class Configuration attr_accessor :authorizer def initialize self.authorizer = ::JSONAPI::Authorization::DefaultPunditAuthorizer end end class << self attr_accessor :configuration end @configuration ||= Configuration.new def self.configure yield(@configuration) end end end
Version data entries
5 entries across 5 versions & 1 rubygems