Sha256: bfe8e2f6734ed9edfa872fb2e87d059486054428555eb415c5d23019f9d2eeaa
Contents?: true
Size: 320 Bytes
Versions: 29
Compression:
Stored size: 320 Bytes
Contents
module Onoma class AccountingSystem < Onoma::Record::Base class << self def with_fiscal_position Onoma::FiscalPosition.items.values .reduce(Set.new) {|acc, fp| acc << fp.accounting_system} .map {|e| Onoma::AccountingSystem[e]} .compact end end end end
Version data entries
29 entries across 29 versions & 1 rubygems