Sha256: 0fcb9b57c24fefe26611bfef9cd5c38f372f3612be677cf907a528ac5f014bfa

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

require 'forwardable'

require 'absolutely'

require 'link_header_parser/version'
require 'link_header_parser/exceptions'

require 'link_header_parser/link_header'
require 'link_header_parser/link_header_parameter'
require 'link_header_parser/link_headers_collection'

module LinkHeaderParser
  # Parse an array of HTTP Link headers
  #
  # @param headers [Array<String>]
  # @param base [String]
  # @return [LinkHeaderParser::LinkHeadersCollection]
  def self.parse(*headers, base:)
    LinkHeadersCollection.new(*headers, base: base)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
link-header-parser-2.2.0 lib/link-header-parser.rb
link-header-parser-2.1.0 lib/link-header-parser.rb
link-header-parser-2.0.0 lib/link-header-parser.rb