ads_savon/lib/ads_savon/client.rb
def yield_objects(offset, instance, &block)
      to_yield = [:soap, :wsdl, :http, :wsse]
      yield *(to_yield[offset, block.arity].map { |obj_name| instance.send(obj_name) })
    end
def yield_objects(offset, instance, &block)
      to_yield = [:soap, :wsdl, :http, :wsse]
      yield *(to_yield[offset, block.arity].map { |obj_name| instance.send(obj_name) })
    end
Yields a number of objects to a given +block+ depending on how many arguments
 the block is expecting.