Class: Dox::Entities::ResourceGroup
- Inherits:
-
Object
- Object
- Dox::Entities::ResourceGroup
- Defined in:
- lib/dox/entities/resource_group.rb
Instance Attribute Summary collapse
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#resources ⇒ Object
Returns the value of attribute resources.
Instance Method Summary collapse
-
#initialize(details) ⇒ ResourceGroup
constructor
A new instance of ResourceGroup.
Constructor Details
#initialize(details) ⇒ ResourceGroup
Returns a new instance of ResourceGroup.
7 8 9 10 11 |
# File 'lib/dox/entities/resource_group.rb', line 7 def initialize(details) @name = details[:resource_group_name] @desc = details[:resource_group_desc] @resources = {} end |
Instance Attribute Details
#desc ⇒ Object
Returns the value of attribute desc.
5 6 7 |
# File 'lib/dox/entities/resource_group.rb', line 5 def desc @desc end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/dox/entities/resource_group.rb', line 4 def name @name end |
#resources ⇒ Object
Returns the value of attribute resources.
5 6 7 |
# File 'lib/dox/entities/resource_group.rb', line 5 def resources @resources end |