Class: Fog::AWS::ELB::BackendServerDescriptions

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/aws/models/elb/backend_server_descriptions.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/backend_server_descriptions.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/backend_server_descriptions.rb', line 8

def load_balancer
  @load_balancer
end

Instance Method Details

#allObject



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

def all
  load(data)
end

#get(instance_port) ⇒ Object



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

def get(instance_port)
  all.find { |e| e.instance_port == instance_port }
end