Module: JSONAPI::Authorization

Defined in:
lib/jsonapi/authorization.rb,
lib/jsonapi/authorization/version.rb,
lib/jsonapi/authorization/configuration.rb,
lib/jsonapi/authorization/authorizing_processor.rb,
lib/jsonapi/authorization/pundit_scoped_resource.rb,
lib/jsonapi/authorization/default_pundit_authorizer.rb

Defined Under Namespace

Modules: PunditScopedResource Classes: AuthorizingProcessor, Configuration, DefaultPunditAuthorizer

Constant Summary collapse

VERSION =
"3.0.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



25
26
27
# File 'lib/jsonapi/authorization/configuration.rb', line 25

def configuration
  @configuration
end

Class Method Details

.configure {|@configuration| ... } ⇒ Object

Yields:



30
31
32
# File 'lib/jsonapi/authorization/configuration.rb', line 30

def self.configure
  yield(@configuration)
end