Class: Ecfr::VersionerService::IssuePackage::IssueVolume

Inherits:
Object
  • Object
show all
Extended by:
Extensible
Includes:
AttributeMethodDefinition
Defined in:
lib/ecfr/versioner_service/issue_package/issue_volume.rb

Overview

Represents a single volume of a title from a specific issue. Only volumes that have changes are sent over as part of the issue for publication. These changed volumes are combined to create a final XML file representing the title for that issue date.

Instance Attribute Summary collapse

Method Summary

Methods included from Extensible

inherited

Methods included from AttributeMethodDefinition

included, #initialize

Instance Attribute Details

#converted_title_xmlShaComparison (readonly)

Returns:



19
20
21
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 19

attribute :converted_title_xml,
type: ShaComparison,
desc: ""

#converted_xmlShaComparison (readonly)

sha after conversion to GPO bulk XML format

Returns:



23
24
25
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 23

attribute :converted_xml,
type: ShaComparison,
desc: "sha after conversion to GPO bulk XML format"

#extracted_title_xmlShaComparison (readonly)

base sha for the title extracted from the GPO bulk data XML

Returns:



27
28
29
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 27

attribute :extracted_title_xml,
type: ShaComparison,
desc: "base sha for the title extracted from the GPO bulk data XML"

#extracted_xmlShaComparison (readonly)

base sha for the volume extracted from the GPO bulk data XML

Returns:



31
32
33
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 31

attribute :extracted_xml,
type: ShaComparison,
desc: "base sha for the volume extracted from the GPO bulk data XML"

#idInteger (readonly)

issue package database id

Returns:

  • (Integer)


15
16
17
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 15

attribute :id,
type: :integer,
desc: "issue package database id"

#titleInteger (readonly)

Title number

Returns:

  • (Integer)


35
36
37
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 35

attribute :title,
type: :integer,
desc: "Title number"

#title_versionTitleVersion (readonly)

the version record for the title associated with this volume

Returns:



39
40
41
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 39

attribute :title_version,
type: TitleVersion,
desc: "the version record for the title associated with this volume"

#volumeInteger (readonly)

volume number

Returns:

  • (Integer)


43
44
45
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 43

attribute :volume,
type: :integer,
desc: "volume number"

#volume_file_shaString (readonly)

file sha for this volume

Returns:

  • (String)


47
48
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 47

attribute :volume_file_sha,
desc: "file sha for this volume"