Sha256: 329694937fa11c4d0666665c1def44bb4719fd9683cb41a8294174eb68e23dc4

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

# Internal: Reponse from the downloader which contains the response body 
# and the request url.
module HLSpider
  class Response
    def initialize(url, body)
      @url = url
      @body = body
    end

    attr_reader :url, :body
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hlspider-0.6.1 lib/hlspider/response.rb
hlspider-0.6.0 lib/hlspider/response.rb
hlspider-0.5.0 lib/hlspider/response.rb
hlspider-0.4.0 lib/hlspider/response.rb