Sha256: 27e4638ca26bcfb93da45578a0e1b5b9f568e1cd5106f80f491df2958270480c

Contents?: true

Size: 356 Bytes

Versions: 21

Compression:

Stored size: 356 Bytes

Contents

module CanTango
  module Permits
    class AccountPermit < CanTango::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

21 entries across 21 versions & 1 rubygems

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