Sha256: 7991b76f645eda9d5f9501877c53c976954f733f85ad2a678aed4bc3f16255fd

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

require "relaton/processor"

module Relaton
  module ItuBib
    class Processor < Relaton::Processor

      def initialize
        @short = :itubib
        @prefix = "ITU"
        @defaultprefix = %r{^(ITU)}
        @idtype = "ITU"
      end

      def get(code, date, opts)
        ::ItuBib::ItuBliography.get(code, date, opts)
      end

      def from_xml(xml)
        IsoBibItem::XMLParser.from_xml xml
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ituBib-0.1.1 lib/relaton/processor.rb
ituBib-0.1.0 lib/relaton/processor.rb