Sha256: 879a6da60c06a9443a57c5955b0478b29be7ab6577db18305adc0617704a6a11

Contents?: true

Size: 344 Bytes

Versions: 58

Compression:

Stored size: 344 Bytes

Contents

module Relaton
  module Provider
    class Ietf
      class << self
        # @param xml [String]
        # @return [RelatonIetf::IetfBibliographicItem]
        def from_rfcxml(xml)
          doc = Nokogiri::XML xml
          reference = doc.at "/rfc"
          RelatonIetf::Scrapper.fetch_rfc reference
        end
      end
    end
  end
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
relaton-ietf-1.9.6 lib/relaton/provider_ietf.rb
relaton-ietf-1.9.5 lib/relaton/provider_ietf.rb
relaton-ietf-1.9.4 lib/relaton/provider_ietf.rb
relaton-ietf-1.9.3 lib/relaton/provider_ietf.rb
relaton-ietf-1.9.2 lib/relaton/provider_ietf.rb
relaton-ietf-1.9.1 lib/relaton/provider_ietf.rb
relaton-ietf-1.9.0 lib/relaton/provider_ietf.rb
relaton-ietf-1.8.0 lib/relaton/provider_ietf.rb
relaton-ietf-1.7.5 lib/relaton/provider_ietf.rb
relaton-ietf-1.7.4 lib/relaton/provider_ietf.rb
relaton-ietf-1.7.3 lib/relaton/provider_ietf.rb
relaton-ietf-1.7.2 lib/relaton/provider_ietf.rb
relaton-ietf-1.7.1 lib/relaton/provider_ietf.rb
relaton-ietf-1.7.0 lib/relaton/provider_ietf.rb
relaton-ietf-1.6.0 lib/relaton/provider_ietf.rb
relaton-ietf-1.6.pre1 lib/relaton/provider_ietf.rb
relaton-ietf-1.5.0 lib/relaton/provider_ietf.rb
relaton-ietf-1.5.pre lib/relaton/provider_ietf.rb
relaton-ietf-1.4.0 lib/relaton/provider_ietf.rb
relaton-ietf-1.3.0 lib/relaton/provider_ietf.rb