Sha256: b7d863a84dfe49194e3634c74bbc4424ba18b71ac5bd39e4f69bc3f30d731ccf
Contents?: true
Size: 627 Bytes
Versions: 45
Compression:
Stored size: 627 Bytes
Contents
# frozen_string_literal: true require 'avm/registry' module Avm module Applications class Base module Organization DEFAULT_ORGANIZATION = '_undefined_' ORGANIZATION_CONFIG_KEY = 'organization' # @return [String] def default_organization DEFAULT_ORGANIZATION end # @return [String, nil] def organization_by_configuration entry(ORGANIZATION_CONFIG_KEY).optional_value end # @return [String] def organization organization_by_configuration || default_organization end end end end end
Version data entries
45 entries across 45 versions & 2 rubygems