Sha256: a04c6a3cb92235eb40cd0db72f46615d4a9ef205d08bb7bf1c00996536d13b12

Contents?: true

Size: 328 Bytes

Versions: 9

Compression:

Stored size: 328 Bytes

Contents

require "hypernova/request"
require "hypernova/response"

class Hypernova::ParsedResponse
  def initialize(jobs)
    @jobs = jobs
  end

  def body
    response.parsed_body
  end

  private

  attr_reader :jobs

  def request
    Hypernova::Request.new(jobs)
  end

  def response
    Hypernova::Response.new(request)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hypernova-2.0.0 lib/hypernova/parsed_response.rb
hypernova-1.4.0 lib/hypernova/parsed_response.rb
hypernova-1.3.0 lib/hypernova/parsed_response.rb
hypernova-1.2.0 lib/hypernova/parsed_response.rb
hypernova-1.1.0 lib/hypernova/parsed_response.rb
hypernova-1.0.3 lib/hypernova/parsed_response.rb
hypernova-1.0.2 lib/hypernova/parsed_response.rb
hypernova-1.0.1 lib/hypernova/parsed_response.rb
hypernova-1.0.0 lib/hypernova/parsed_response.rb