lib/lucid_client/test/connection.rb
# This might be used to assign stubs to connection adapters outside of
# this class.
#
This might be used to assign stubs to connection adapters outside of
this class.
This might be used to assign stubs to connection adapters outside of this class .
def assign_stubs( api )
        @stubs.each do |s|
          method, status, path, response_body = s
          api.send( method, path ) { [ status, {}, response_body ] }
        end
      end
def assign_stubs ( api ) @stubs . each do | s | method , status , path , response_body = s api . send ( method , path ) { [ status , { } , response_body ] } end end
This might be used to assign stubs to connection adapters outside of
this class.
This might be used to assign stubs to connection adapters outside of this class .
api
<not_specific>