Sha256: d0600ba06d50c8d2f4f741d50843ab75ba1ab42b6e543bb15b8435ddbae551f1

Contents?: true

Size: 363 Bytes

Versions: 21

Compression:

Stored size: 363 Bytes

Contents

module CanTango
  module Permits
    class RoleGroupPermit < CanTango::Permit

      class Finder < CanTango::PermitEngine::Finder
        def initialize account, name
          super
        end

        def type
          :role_group
        end

        def permit_class
          "#{name.to_s.camelize}RoleGroupPermit"
        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_group_permit/finder.rb
cantango-0.9.4.6 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.9.4.5 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.9.4.3 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.9.4.2 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.9.4.1 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.9.4 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.9.3.2 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.9.5 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.9.4 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.9.3 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.9.2 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.9.1 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.9 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.8.1 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.8 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.7 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.6.2 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.6.1 lib/cantango/permits/role_group_permit/finder.rb
cantango-0.8.6 lib/cantango/permits/role_group_permit/finder.rb