Method: ContainerRegistry::Path#initialize

Defined in:
lib/container_registry/path.rb

#initialize(path, project: nil) ⇒ Path

The ‘project’ argument is optional. If provided during initialization, it will limit the path to the specified project, potentially reducing the need for a database query.



24
25
26
27
# File 'lib/container_registry/path.rb', line 24

def initialize(path, project: nil)
  @path = path.to_s.downcase
  @project = project
end