Class: Fog::AWS::ELB::Policies
- Inherits:
-
Collection
- Object
- Array
- Collection
- Fog::AWS::ELB::Policies
- Defined in:
- lib/fog/aws/models/elb/policies.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#load_balancer ⇒ Object
Returns the value of attribute load_balancer.
Attributes inherited from Collection
Instance Method Summary collapse
Methods inherited from Collection
#clear, #create, #initialize, #inspect, #load, model, #model, #new, #reload, #table, #to_json
Methods included from Fog::Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Fog::Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires
Constructor Details
This class inherits a constructor from Fog::Collection
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
9 10 11 |
# File 'lib/fog/aws/models/elb/policies.rb', line 9 def data @data end |
#load_balancer ⇒ Object
Returns the value of attribute load_balancer.
9 10 11 |
# File 'lib/fog/aws/models/elb/policies.rb', line 9 def load_balancer @load_balancer end |
Instance Method Details
#all ⇒ Object
11 12 13 |
# File 'lib/fog/aws/models/elb/policies.rb', line 11 def all load(munged_data) end |
#get(id) ⇒ Object
15 16 17 |
# File 'lib/fog/aws/models/elb/policies.rb', line 15 def get(id) all.detect{|policy| id == policy.id} end |