class XRBP::WebClient::Plugins::ResultParser

Plugin to automatically parse and convert webclient results, before returning.

@example parse json

connection = WebClient::Connection.new
connection.add_plugin :result_parser

connection.parse_results do |res|
  JSON.parse(res)
end

connection.url = "https://data.ripple.com/v2/gateways"
connection.perform