Sha256: 32c65712c7676ba70eda7550e431fc701653d92e89880f8174ebeee532053dda

Contents?: true

Size: 437 Bytes

Versions: 10

Compression:

Stored size: 437 Bytes

Contents

class TestsController < ApplicationController
  include Authz::Controllers::AuthorizationManager
  public(*Authz::Controllers::AuthorizationManager.protected_instance_methods)
  public(*Authz::Controllers::AuthorizationManager.private_instance_methods)

  attr_reader :current_user, :params

  def initialize(current_user, action)
    @current_user = current_user
    @params = {controller: 'tests_controller', action: action}
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
authz-0.0.5 spec/support/controllers/test_controller.rb
authz-0.0.4 spec/support/controllers/test_controller.rb
authz-0.0.3 spec/support/controllers/test_controller.rb
authz-0.0.2 spec/support/controllers/test_controller.rb
authz-0.0.1 spec/support/controllers/test_controller.rb
authz-0.0.1.alpha5 spec/support/controllers/test_controller.rb
authz-0.0.1.alpha4 spec/support/controllers/test_controller.rb
authz-0.0.1.alpha3 spec/support/controllers/test_controller.rb
authz-0.0.1.alpha2 spec/support/controllers/test_controller.rb
authz-0.0.1.alpha spec/support/controllers/test_controller.rb