Sha256: c673de3fe8832ab2faadba5c08e62ac85887b26903c123c5e044f5ce0685fd82

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

require "relaton/processor"

module Relaton
  module RelatonItu
    class Processor < Relaton::Processor

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
relaton-itu-0.2.1 lib/relaton/processor.rb
relaton-itu-0.2.0 lib/relaton/processor.rb