Class: Pubid::Bsi::Identifiers::BritishStandard

Inherits:
SingleIdentifier
  • Object
show all
Defined in:
lib/pubid/bsi/identifiers/british_standard.rb

Overview

British Standard (BS) identifier

Constant Summary collapse

TYPED_STAGES =
[
  Pubid::Components::TypedStage.new(
    code: :pubbs,
    stage_code: :published,
    type_code: :bs,
    abbr: ["BS"],
    name: "British Standard",
    harmonized_stages: %w[60.00 60.60],
  ),
  Pubid::Components::TypedStage.new(
    code: :drbs,
    stage_code: :draft,
    type_code: :bs,
    abbr: ["Draft BS", "DBS"],
    name: "Draft British Standard",
    harmonized_stages: %w[30.00 30.20 30.60 40.00 40.20 40.60],
  ),
].freeze

Class Method Summary collapse

Class Method Details

.typeObject



27
28
29
30
# File 'lib/pubid/bsi/identifiers/british_standard.rb', line 27

def self.type
  { key: :bs,
    web: :british_standard, title: "British Standard", short: "BS" }
end