Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
class EntityCache
  module Storage
    class Temporary
      module Scope
        Error = Class.new StandardError

        module Defaults
          module Name
            def self.get
              value = env_var_value || self.value
              value.to_sym
            end

            def self.env_var_value
              ENV[env_var_name]
            end

            def self.env_var_name
              'ENTITY_CACHE_SCOPE'
            end

            def self.value
              'shared'
            end
          end
        end
      end
    end
  end
end