Class: Pubid::Nist::Identifiers::GrantContractorReport

Inherits:
Base
  • Object
show all
Defined in:
lib/pubid/nist/identifiers/grant_contractor_report.rb

Overview

NIST Grant/Contractor Report (GCR) Examples:

  • "NIST GCR 17-917-45" - Basic 3-part number
  • "NIST GCR 21-917-48v3B" - With volume and letter suffix

Constant Summary collapse

TYPED_STAGES =
[
  Pubid::Components::TypedStage.new(
    abbr: ["GCR", "NIST GCR"],
    stage_code: "published",
    type_code: "gcr",
  ),
].freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.typeObject



24
25
26
27
# File 'lib/pubid/nist/identifiers/grant_contractor_report.rb', line 24

def type
  { key: :gcr,
  web: :grant_contractor_report, title: "NIST Grant/Contractor Report", short: "GCR" }
end

.typed_stagesObject



20
21
22
# File 'lib/pubid/nist/identifiers/grant_contractor_report.rb', line 20

def typed_stages
  TYPED_STAGES
end

Instance Method Details

#series_codeObject



30
31
32
# File 'lib/pubid/nist/identifiers/grant_contractor_report.rb', line 30

def series_code
  "GCR"
end