Class: LoadBalancer
- Defined in:
- lib/deltacloud/models/load_balancer.rb
Defined Under Namespace
Classes: Listener
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#instances ⇒ Object
Returns the value of attribute instances.
-
#listeners ⇒ Object
Returns the value of attribute listeners.
-
#public_addresses ⇒ Object
Returns the value of attribute public_addresses.
-
#realms ⇒ Object
Returns the value of attribute realms.
Instance Method Summary collapse
Methods inherited from BaseModel
attr_accessor, attributes, #attributes, #id, #initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from BaseModel
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
26 27 28 |
# File 'lib/deltacloud/models/load_balancer.rb', line 26 def created_at @created_at end |
#instances ⇒ Object
Returns the value of attribute instances.
24 25 26 |
# File 'lib/deltacloud/models/load_balancer.rb', line 24 def instances @instances end |
#listeners ⇒ Object
Returns the value of attribute listeners.
23 24 25 |
# File 'lib/deltacloud/models/load_balancer.rb', line 23 def listeners @listeners end |
#public_addresses ⇒ Object
Returns the value of attribute public_addresses.
25 26 27 |
# File 'lib/deltacloud/models/load_balancer.rb', line 25 def public_addresses @public_addresses end |
#realms ⇒ Object
Returns the value of attribute realms.
22 23 24 |
# File 'lib/deltacloud/models/load_balancer.rb', line 22 def realms @realms end |
Instance Method Details
#add_listener(opts) ⇒ Object
28 29 30 |
# File 'lib/deltacloud/models/load_balancer.rb', line 28 def add_listener(opts) @listeners << Listener.new(opts) end |