Class: Netscaler::Policy

Inherits:
Object
  • Object
show all
Defined in:
lib/netscaler/policy.rb,
lib/netscaler/policy/stringmap.rb

Overview

Keeping with the command grouping in NSCLI, the Policy class is meant

to be used as a place holder for all subcommands that belong under
policy command group.  Ex.

add policy expression
add policy httpCallout
add policy map
add policy patset
add policy stringmap

Defined Under Namespace

Classes: Stringmap

Instance Method Summary collapse

Constructor Details

#initialize(netscaler) ⇒ Policy

Returns a new instance of Policy.



21
22
23
# File 'lib/netscaler/policy.rb', line 21

def initialize(netscaler)
  @netscaler = netscaler
end

Instance Method Details

#stringmapObject



25
26
27
# File 'lib/netscaler/policy.rb', line 25

def stringmap
  Stringmap.new @netscaler
end