Sha256: b036a8adae035a47a562546729e2573547959ca7005daed95723790c74881260
Contents?: true
Size: 428 Bytes
Versions: 12
Compression:
Stored size: 428 Bytes
Contents
module HTTParty class Response < BlankSlate #:nodoc: attr_accessor :body, :code, :message, :headers attr_reader :delegate def initialize(delegate, body, code, message, headers={}) @delegate = delegate @body = body @code = code.to_i @message = message @headers = headers end def method_missing(name, *args, &block) @delegate.send(name, *args, &block) end end end
Version data entries
12 entries across 12 versions & 9 rubygems