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-0.8.0 lib/relaton/provider_ietf.rb
relaton-ietf-0.7.3 lib/relaton/provider_ietf.rb
relaton-ietf-0.7.2 lib/relaton/provider_ietf.rb
relaton-ietf-0.7.1 lib/relaton/provider_ietf.rb
relaton-ietf-0.7.0 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.10 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.9 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.8 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.7 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.6 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.5 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.4 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.3 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.2 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.1 lib/relaton/provider_ietf.rb
relaton-ietf-0.6.0 lib/relaton/provider_ietf.rb
relaton-ietf-0.5.5 lib/relaton/provider_ietf.rb
relaton-ietf-0.5.4 lib/relaton/provider_ietf.rb