Sha256: 1960a6d7bf9d35b07888ff584d7bf861ba668fda901d08466cb0dbe1731e3b0f
Contents?: true
Size: 611 Bytes
Versions: 9
Compression:
Stored size: 611 Bytes
Contents
require 'netscaler/netscaler_service' module Netscaler class Responder class Action < NetscalerService def initialize(netscaler) @netscaler=netscaler end def show(payload={}) if payload[:name] != nil then validate_payload(payload, [:name]) return @netscaler.adapter.get("config/responderaction/#{payload[:name]}") elsif payload == {} then return @netscaler.adapter.get('config/responderaction/') else raise ArgumentError, 'payload supplied must have been missing :name' end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems