Sha256: ddf43991fda575ce147ba36df9e9eb40e5df34b00e0e1317f22952d77140dc00
Contents?: true
Size: 849 Bytes
Versions: 27
Compression:
Stored size: 849 Bytes
Contents
module Foobara module Manifest class Organization < BaseManifest self.category_symbol = :organization def organization_manifest relevant_manifest end def domains @domains ||= DataPath.value_at(:domains, organization_manifest).map do |key| Domain.new(root_manifest, [:domain, key]) end end def commands domains.map(&:commands).flatten end def types domains.map(&:types).flatten end def entities domains.map(&:entities).flatten end def models domains.map(&:models).flatten end def global? reference == "global_organization" end def organization_name scoped_name end def full_organization_name scoped_full_name end end end end
Version data entries
27 entries across 27 versions & 1 rubygems