Class: Lutaml::Xsd::PackageInfo

Inherits:
Model::Serializable
  • Object
show all
Defined in:
lib/lutaml/xsd/conflict_report.rb

Overview

Package information for serialization

Class Method Summary collapse

Class Method Details

.from_source(package_source) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/lutaml/xsd/conflict_report.rb', line 17

def self.from_source(package_source)
  new(
    package_path: package_source.package_path,
    priority: package_source.priority,
    conflict_resolution: package_source.conflict_resolution,
  )
end