Sha256: 3f513dcac3e6f171fc63804475c3ad4049c404533d9ace19f14e8b3497522409
Contents?: true
Size: 536 Bytes
Versions: 5
Compression:
Stored size: 536 Bytes
Contents
# frozen_string_literal: true require 'rolify' require 'pundit' module G5Authenticatable # Rails engine for authentication/authorization against G5 Auth server class Engine < ::Rails::Engine isolate_namespace G5Authenticatable config.generators do |g| g.orm :active_record g.test_framework :rspec g.fixture_replacement :factory_girl, dir: 'spec/factories' end initializer 'g5_authenticatable.filter_access_token' do |app| app.config.filter_parameters += [:access_token] end end end
Version data entries
5 entries across 5 versions & 1 rubygems