Sha256: 2704de09154c65e69e22f558df2ff1c0dee89e590042656cf1a8a1adb9842968

Contents?: true

Size: 447 Bytes

Versions: 10

Compression:

Stored size: 447 Bytes

Contents

module RelatonCalconnect
  class CcBibliographicItem < RelatonBib::BibliographicItem
    TYPES = %w[
      directive guide specification standard report administrative amendment
      technical\ corrigendum advisory
    ].freeze

    # @param hash [Hash]
    # @return [RelatonIsoBib::CcBibliographicItem]
    def self.from_hash(hash)
      item_hash = ::RelatonCalconnect::HashConverter.hash_to_bib(hash)
      new(**item_hash)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
relaton-calconnect-1.13.1 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.13.0 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.12.1 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.12.0 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.11.0 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.10.1 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.10.0 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.9.2 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.9.1 lib/relaton_calconnect/cc_bibliographic_item.rb
relaton-calconnect-1.9.0 lib/relaton_calconnect/cc_bibliographic_item.rb