Sha256: 28a81cf236ef79b1c00e434e50ec2d698761087a5f70478c63859fd05308e7dd

Contents?: true

Size: 484 Bytes

Versions: 13

Compression:

Stored size: 484 Bytes

Contents

class ApplicationAuthorizer < Authority::Authorizer
  def self.readable_by?(user)
    true
  end
end

class ExampleUser
  include Authority::UserAbilities
end

class ExampleResourceAuthorizer < ApplicationAuthorizer
end

class ExampleResource
  include Authority::Abilities
end

module Namespaced
  class SampleResourceAuthorizer < ApplicationAuthorizer
  end

  class SampleResource
    include Authority::Abilities
  end

end

class OtherResource
  include Authority::Abilities
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
authority-3.3.0 spec/support/example_classes.rb
authority-3.2.2 spec/support/example_classes.rb
authority-3.2.1 spec/support/example_classes.rb
authority-3.2.0 spec/support/example_classes.rb
authority-3.1.0 spec/support/example_classes.rb
authority-3.0.0 spec/support/example_classes.rb
authority-2.10.0 spec/support/example_classes.rb
authority-2.9.0 spec/support/example_classes.rb
authority-2.8.1 spec/support/example_classes.rb
authority-2.8.0 spec/support/example_classes.rb
authority-2.7.0 spec/support/example_classes.rb
authority-2.6.0 spec/support/example_classes.rb
authority-2.5.0 spec/support/example_classes.rb