Class: Ecfr::VersionerService::IssuePackage::IssueVolume
- Inherits:
-
Object
- Object
- Ecfr::VersionerService::IssuePackage::IssueVolume
- 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
- #converted_title_xml ⇒ ShaComparison readonly
-
#converted_xml ⇒ ShaComparison
readonly
sha after conversion to GPO bulk XML format.
-
#extracted_title_xml ⇒ ShaComparison
readonly
base sha for the title extracted from the GPO bulk data XML.
-
#extracted_xml ⇒ ShaComparison
readonly
base sha for the volume extracted from the GPO bulk data XML.
-
#id ⇒ Integer
readonly
issue package database id.
-
#title ⇒ Integer
readonly
Title number.
-
#title_version ⇒ TitleVersion
readonly
the version record for the title associated with this volume.
-
#volume ⇒ Integer
readonly
volume number.
-
#volume_file_sha ⇒ String
readonly
file sha for this volume.
Method Summary
Methods included from Extensible
Methods included from AttributeMethodDefinition
Instance Attribute Details
#converted_title_xml ⇒ ShaComparison (readonly)
19 20 21 |
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 19 attribute :converted_title_xml, type: ShaComparison, desc: "" |
#converted_xml ⇒ ShaComparison (readonly)
sha after conversion to GPO bulk XML format
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_xml ⇒ ShaComparison (readonly)
base sha for the title extracted from the GPO bulk data XML
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_xml ⇒ ShaComparison (readonly)
base sha for the volume extracted from the GPO bulk data XML
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" |
#id ⇒ Integer (readonly)
issue package database id
15 16 17 |
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 15 attribute :id, type: :integer, desc: "issue package database id" |
#title ⇒ Integer (readonly)
Title number
35 36 37 |
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 35 attribute :title, type: :integer, desc: "Title number" |
#title_version ⇒ TitleVersion (readonly)
the version record for the title associated with this volume
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" |
#volume ⇒ Integer (readonly)
volume number
43 44 45 |
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 43 attribute :volume, type: :integer, desc: "volume number" |
#volume_file_sha ⇒ String (readonly)
file sha for this volume
47 48 |
# File 'lib/ecfr/versioner_service/issue_package/issue_volume.rb', line 47 attribute :volume_file_sha, desc: "file sha for this volume" |