Sha256: 351ea341bb15d13c4c729f1af64c59db292b599676ccd367913efcea9056e943

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

module CanTango
  module PermitEngine
    class RolePermit < CanTango::PermitEngine::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

1 entries across 1 versions & 1 rubygems

Version Path
cantango-0.8.0 lib/cantango/permit_engine/role_permit/finder.rb