gabemc/netscaler-cli — pull request #2 by clarenceb (2011-11-08 12:18:48+00:00)
Title: Some bug fixes and ability to enable/disable individual services in a servicegroup

I was doing some investigation into using the SOAP API to talk to Netscaler 8.1 at work and found your gem. It does most of what I need so I thought I'd use it rather than re-inventing the wheel. There were a couple of immediate (simple) bugs I found and then I needed to expose the ability to enable/disable individual services in a service group with an optional delay (which you hadn't got around to doing yet).

Let me know if there is anything you would want me to change. This is my first ever pull request. I might add more API features as I need them. Not sure how you feel about the level of argument checking for the nre servicegroup arguments. For now I didn't put too much around servername and port as the server will tell you if you missed one of them (both are required if you supplied one). I also didn't put checks to restrict which actions they can be used with. I figure I might expand their use later so didn't restrict their use for now.