lib/netscaler/connection.rb in netscaler-0.4.0 vs lib/netscaler/connection.rb in netscaler-0.5.0
- old
+ new
@@ -9,10 +9,13 @@
require 'netscaler/load_balancing'
require 'netscaler/http_adapter'
require 'netscaler/adapter'
require 'netscaler/policy'
require 'netscaler/lb'
+require 'netscaler/cs'
+require 'netscaler/rewrite'
+require 'netscaler/responder'
module Netscaler
class Connection
def initialize(options={})
missing_options=[]
@@ -31,10 +34,13 @@
@service = Service.new self
@servicegroups = ServiceGroup.new self
@servers = Server.new self
@policy = Policy.new self
@lb = Lb.new self
+ @cs = Cs.new self
+ @rewrite = Rewrite.new self
+ @responder = Responder.new self
end
def adapter
return @adapter
end
@@ -63,9 +69,21 @@
@policy
end
def lb
@lb
+ end
+
+ def cs
+ @cs
+ end
+
+ def rewrite
+ @rewrite
+ end
+
+ def responder
+ @responder
end
def servers
return @servers
end