Module: HttpVanilli::NetHttp::ResponseMixin
- Defined in:
- lib/http_vanilli/net_http/stubs.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#read_body(*args) {|@body| ... } ⇒ Object
18 19 20 21 |
# File 'lib/http_vanilli/net_http/stubs.rb', line 18 def read_body(*args, &block) yield @body if block_given? @body end |