Class: Relaton::Etsi::Doctype

Inherits:
Bib::Doctype
  • Object
show all
Defined in:
lib/relaton/etsi/doctype.rb

Constant Summary collapse

DOCTYPES =
{
  "EN" => "European Standard",
  "ES" => "ETSI Standard",
  "EG" => "ETSI Guide",
  "TS" => "Technical Specification",
  "GS" => "Group Specification",
  "GR" => "Group Report",
  "TR" => "Technical Report",
  "ETR" => "ETSI Technical Report",
  "GTS" => "GSM Technical Specification",
  "SR" => "Special Report",
  "TCRTR" => "Technical Committee Reference Technical Report",
  "TBR" => "Technical Basis for Regulation",
  "ETS" => "European Telecommunication Standard",
  "I-ETS" => "Interim European Telecommunication Standard",
  "NET" => "Norme Européenne de Télécommunication",
}.freeze

Class Method Summary collapse

Class Method Details

.create_from_abbreviation(abbreviation) ⇒ Object



25
26
27
# File 'lib/relaton/etsi/doctype.rb', line 25

def self.create_from_abbreviation(abbreviation)
  new(content: DOCTYPES[abbreviation], abbreviation: abbreviation)
end