Class: Cartography::Cluster::Site::LoadBalancer
- Inherits:
-
Object
- Object
- Cartography::Cluster::Site::LoadBalancer
- Defined in:
- lib/cartography/cluster.rb
Instance Attribute Summary collapse
-
#arn ⇒ Object
readonly
Returns the value of attribute arn.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ LoadBalancer
constructor
A new instance of LoadBalancer.
Constructor Details
#initialize(params = {}) ⇒ LoadBalancer
Returns a new instance of LoadBalancer.
70 71 72 73 |
# File 'lib/cartography/cluster.rb', line 70 def initialize(params = {}) @name = params["Name"] @arn = params["arn"] end |
Instance Attribute Details
#arn ⇒ Object (readonly)
Returns the value of attribute arn.
67 68 69 |
# File 'lib/cartography/cluster.rb', line 67 def arn @arn end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
67 68 69 |
# File 'lib/cartography/cluster.rb', line 67 def name @name end |