Class: ZAWS::ELB

Inherits:
Object
  • Object
show all
Defined in:
lib/zaws/services/elb.rb

Instance Method Summary collapse

Constructor Details

#initialize(shellout, aws, undofile = nil) ⇒ ELB

Returns a new instance of ELB.



8
9
10
11
12
# File 'lib/zaws/services/elb.rb', line 8

def initialize(shellout,aws,undofile=nil)
  @shellout=shellout
  @aws=aws
	@undofile=undofile
end

Instance Method Details

#load_balancerObject



14
15
16
17
# File 'lib/zaws/services/elb.rb', line 14

def load_balancer 
  @_load_balancer ||= (ZAWS::Services::ELB::LoadBalancer.new(@shellout,@aws,@undofile))
  return @_load_balancer
end