Class: Fog::AWS::ELB::Listeners

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/aws/models/elb/listeners.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data.



8
9
10
# File 'lib/fog/aws/models/elb/listeners.rb', line 8

def data
  @data
end

#load_balancerObject

Returns the value of attribute load_balancer.



8
9
10
# File 'lib/fog/aws/models/elb/listeners.rb', line 8

def load_balancer
  @load_balancer
end

Instance Method Details

#allObject



10
11
12
# File 'lib/fog/aws/models/elb/listeners.rb', line 10

def all
  load(munged_data)
end

#get(lb_port) ⇒ Object



14
15
16
# File 'lib/fog/aws/models/elb/listeners.rb', line 14

def get(lb_port)
  all.find { |listener| listener.lb_port == lb_port }
end