class Hurley::BodyReceiver

Public Class Methods

new() click to toggle source
# File lib/hurley/client.rb, line 338
def initialize
  @chunks = []
end

Public Instance Methods

call(res, chunk) click to toggle source
# File lib/hurley/client.rb, line 342
def call(res, chunk)
  @chunks << chunk
end
join() click to toggle source
# File lib/hurley/client.rb, line 346
def join
  @chunks.join
end