CP Connector in Ruby