Class: Pubid::Bsi::Identifiers::TestMethod

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

Overview

TestMethod represents BSI test method identifiers Format: BS number:test_series:test_id:year

Examples:

BS 1006:B01C:LFS1:1982
BS 1006:B01C:LFS2:1985
BS 1006:B01C:LFS4:1990

Constant Summary collapse

TYPED_STAGES =
[
  Pubid::Components::TypedStage.new(
    code: :pubtestmethod,
    stage_code: :published,
    type_code: :test_method,
    abbr: ["BS"],
    name: "Test Method",
    harmonized_stages: %w[60.00 60.60],
  ),
].freeze

Class Method Summary collapse

Class Method Details

.typeObject



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

def self.type
  { key: :test_method, title: "Test Method", short: "BS" }
end