Sha256: 24a0b7dd03e689505092b5812f048fdb017ffbe79f6d5511b0dba12e471b4097
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
module HTTParty class Response attr_accessor :body, :code def initialize(delegate, body, code) @delegate = delegate @body = body @code = code end def method_missing(name, *args) @delegate.send(name, *args) end def ==(other) @delegate == other end def nil? @delegate.nil? end def pretty_print(q) @delegate.pretty_print(q) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
httparty-0.2.7 | lib/httparty/response.rb |