Class: Packages::Maven::Metadata::BaseCreateXmlService

Inherits:
Object
  • Object
show all
Includes:
Gitlab::Utils::StrongMemoize
Defined in:
app/services/packages/maven/metadata/base_create_xml_service.rb

Constant Summary collapse

INDENT_SPACE =
2

Instance Method Summary collapse

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Constructor Details

#initialize(metadata_content:, package:) ⇒ BaseCreateXmlService

Returns a new instance of BaseCreateXmlService.


11
12
13
14
# File 'app/services/packages/maven/metadata/base_create_xml_service.rb', line 11

def initialize(metadata_content:, package:)
  @metadata_content = 
  @package = package
end