Method: Ferrum::Network::Exchange#to_a

Defined in:
lib/ferrum/network/exchange.rb

#to_aArray

Converts the network exchange into a request, response, and error tuple.

Returns:

  • (Array)


173
174
175
# File 'lib/ferrum/network/exchange.rb', line 173

def to_a
  [request, response, error]
end