Module: Foobara::CommandRegistry::ExposedOrganization

Defined in:
foobara-0.0.110/projects/command_connectors/src/command_registry/exposed_organization.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#unexposed_organizationObject

Returns the value of attribute unexposed_organization.



4
5
6
# File 'foobara-0.0.110/projects/command_connectors/src/command_registry/exposed_organization.rb', line 4

def unexposed_organization
  @unexposed_organization
end

Instance Method Details

#foobara_manifestObject

TODO: unable to address types here so it is handled as a hack higher up…



12
13
14
15
16
17
18
# File 'foobara-0.0.110/projects/command_connectors/src/command_registry/exposed_organization.rb', line 12

def foobara_manifest
  organization_manifest = unexposed_organization.foobara_manifest
  mode = Foobara::Namespace::LookupMode::DIRECT
  domains = foobara_all_domain(mode:).map(&:foobara_manifest_reference).sort

  organization_manifest.merge(domains:)
end

#foobara_manifest_referenceObject



20
21
22
# File 'foobara-0.0.110/projects/command_connectors/src/command_registry/exposed_organization.rb', line 20

def foobara_manifest_reference
  unexposed_organization.foobara_manifest_reference
end