Sha256: c8b54f49505e7aedb13b96d8c6e037dad2abe415c9c391fbe4432328cd23b153

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

module Fed
  module Http
    class Curb
      def self.get(url)
        Curl.get(url) do|http|
          http.headers['User-Agent'] = Fed::Http.options[:user_agent]
          http.follow_location = true
        end.body_str
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fed-0.0.3 lib/fed/http/curb.rb
fed-0.0.2 lib/fed/http/curb.rb