Sha256: 72e793dc2a1b2f54b9935e971d4f8dc76b1b93c8545170a2b297cb0d3ad86f07

Contents?: true

Size: 346 Bytes

Versions: 21

Compression:

Stored size: 346 Bytes

Contents

module CanTango
  module Permits
    class RolePermit < CanTango::Permit
      class Finder < CanTango::PermitEngine::Finder
        def initialize account, name
          super
        end

        def type
          :role
        end

        def permit_class
          "#{name.to_s.camelize}RolePermit"
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cantango-0.9.4.7 lib/cantango/permits/role_permit/finder.rb
cantango-0.9.4.6 lib/cantango/permits/role_permit/finder.rb
cantango-0.9.4.5 lib/cantango/permits/role_permit/finder.rb
cantango-0.9.4.3 lib/cantango/permits/role_permit/finder.rb
cantango-0.9.4.2 lib/cantango/permits/role_permit/finder.rb
cantango-0.9.4.1 lib/cantango/permits/role_permit/finder.rb
cantango-0.9.4 lib/cantango/permits/role_permit/finder.rb
cantango-0.9.3.2 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.9.5 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.9.4 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.9.3 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.9.2 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.9.1 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.9 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.8.1 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.8 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.7 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.6.2 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.6.1 lib/cantango/permits/role_permit/finder.rb
cantango-0.8.6 lib/cantango/permits/role_permit/finder.rb