Sha256: 952355f3ced659ab183642a20d240ca02c1e956675b7dd7816b4069db56025fd
Contents?: true
Size: 268 Bytes
Versions: 6
Compression:
Stored size: 268 Bytes
Contents
class FakeResponse < Struct.new(:status, :headers, :body) def initialize(args = nil) args ||= {} super(*[ args[:status] || Factory.integer, args[:headers] || Rack::Utils::HeaderHash.new, args[:body] || [Factory.text] ]) end end
Version data entries
6 entries across 6 versions & 1 rubygems