Class: Pubid::Nist::Identifiers::Nsrds

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

Overview

NBS NSRDS (National Standard Reference Data Series) Examples:

  • "NBS NSRDS 1" - Basic NSRDS
  • "NSRDS-NBS 1" - With hyphen prefix
  • "NBS NSRDS 1p1" - With part notation

Constant Summary collapse

TYPED_STAGES =
[
  Pubid::Components::TypedStage.new(
    abbr: ["NSRDS", "NBS NSRDS"],
    stage_code: "published",
    type_code: "nsrds",
  ),
].freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.typeObject



25
26
27
28
# File 'lib/pubid/nist/identifiers/nsrds.rb', line 25

def type
  { key: :nsrds, title: "National Standard Reference Data Series",
    short: "NSRDS" }
end

.typed_stagesObject



21
22
23
# File 'lib/pubid/nist/identifiers/nsrds.rb', line 21

def typed_stages
  TYPED_STAGES
end

Instance Method Details

#default_publisherObject



31
32
33
# File 'lib/pubid/nist/identifiers/nsrds.rb', line 31

def default_publisher
  "NBS"
end

#series_codeObject



35
36
37
# File 'lib/pubid/nist/identifiers/nsrds.rb', line 35

def series_code
  "NSRDS"
end