Problem this snippet solves: A simple script to add and delete both Virtual IPs and Pools in: Ruby Code : require 'rubygems'
require 'rest-client'
require 'json'
# define program-wide variables
B...
On line 22 there is a statement without an assignment. I think you want something like x = members.collect{ ... } and then pass x as the members in the payload.