Sha256: 148aba250636f141d042a1b366112eb61803aa0069684fb068e013dee2049bb3

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

module Restfulie
  module Common
    module Representation
      module Links
        def self.extract_link_header(links)
          links.collect {|link| "<#{link.href}>; rel=#{link.rel}"}.join(', ')
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
restfulie-1.0.0.beta1 lib/restfulie/common/representation/links.rb
restfulie-0.1.0.beta1 lib/restfulie/common/representation/links.rb
restfulie-0.9.3 lib/restfulie/common/representation/links.rb
restfulie-0.9.1 lib/restfulie/common/representation/links.rb