lib/netscaler/server.rb
##
# :server is optional, if omitted it will return all servers
# configured on the Netscaler.
:server is optional, if omitted it will return all servers
configured on the Netscaler.
: server is optional if omitted it will return all servers configured on the Netscaler .
def show(payload = {}) 
      if payload[:server] != nil then
        validate_payload(payload, [:server])
        return @netscaler.adapter.get("config/server/#{payload[:server]}")
      elsif payload == {} then
        return @netscaler.adapter.get('config/server/')
      else
        raise ArgumentError, 'payload supplied must have been missing :server'
      end
    end
def show ( payload = { } ) if payload [ :server ] != nil then validate_payload ( payload , [ :server ] ) return @netscaler . adapter . get ( "config/server/#{payload[:server]}" ) elsif payload == { } then return @netscaler . adapter . get ( 'config/server/' ) else raise ArgumentError , 'payload supplied must have been missing :server' end end
:server is optional, if omitted it will return all servers
configured on the Netscaler.
: server is optional if omitted it will return all servers configured on the Netscaler .
# :args:  :server => 'foo'
payload