Sha256: 13d0d08598eda5e6043462842f954e76004e4a86dae4da57034a7d99b2c08de1

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

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

        def type
          :account
        end

        def permit_class
          "#{name.to_s.camelize}AccountPermit"
        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/account_permit/finder.rb