Sha256: 6e17975bd18d9206ad9828beb3546f0a1beb5b03d12f0feb839af492cfa25992

Contents?: true

Size: 489 Bytes

Versions: 11

Compression:

Stored size: 489 Bytes

Contents

require "relaton/processor"
require "relaton_ietf/xml_parser"

module Relaton
  module RelatonIetf
    class Processor < Relaton::Processor
      def initialize
        @short = :relaton_ietf
        @prefix = "IETF"
        @defaultprefix = /^RFC /
        @idtype = "IETF"
      end

      def get(code, date, opts)
        ::RelatonIetf::IetfBibliography.get(code, date, opts)
      end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
relaton-ietf-0.6.3 lib/relaton/processor.rb
relaton-ietf-0.6.2 lib/relaton/processor.rb
relaton-ietf-0.6.1 lib/relaton/processor.rb
relaton-ietf-0.6.0 lib/relaton/processor.rb
relaton-ietf-0.5.5 lib/relaton/processor.rb
relaton-ietf-0.5.4 lib/relaton/processor.rb
relaton-ietf-0.5.3 lib/relaton/processor.rb
relaton-ietf-0.5.2 lib/relaton/processor.rb
relaton-ietf-0.5.1 lib/relaton/processor.rb
relaton-ietf-0.5.0 lib/relaton/processor.rb
relaton-ietf-0.1.0 lib/relaton/processor.rb