Module: Foobara::CommandRegistry::ExposedOrganization
- Defined in:
- foobara-0.0.110/projects/command_connectors/src/command_registry/exposed_organization.rb
Instance Attribute Summary collapse
-
#unexposed_organization ⇒ Object
Returns the value of attribute unexposed_organization.
Instance Method Summary collapse
-
#foobara_manifest ⇒ Object
TODO: unable to address types here so it is handled as a hack higher up…
- #foobara_manifest_reference ⇒ Object
Instance Attribute Details
#unexposed_organization ⇒ Object
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_manifest ⇒ Object
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 organization_manifest = unexposed_organization. mode = Foobara::Namespace::LookupMode::DIRECT domains = (mode:).map(&:foobara_manifest_reference).sort organization_manifest.merge(domains:) end |
#foobara_manifest_reference ⇒ Object
20 21 22 |
# File 'foobara-0.0.110/projects/command_connectors/src/command_registry/exposed_organization.rb', line 20 def unexposed_organization. end |