Class: Fog::AWS::ELB::Policies

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

def load_balancer
  @load_balancer
end

Instance Method Details

#allObject



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

def all
  load(munged_data)
end

#get(id) ⇒ Object



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

def get(id)
  all.find{|policy| id == policy.id}
end