Class: Dox::Entities::ResourceGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/dox/entities/resource_group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descObject

Returns the value of attribute desc.



5
6
7
# File 'lib/dox/entities/resource_group.rb', line 5

def desc
  @desc
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/dox/entities/resource_group.rb', line 4

def name
  @name
end

#resourcesObject

Returns the value of attribute resources.



5
6
7
# File 'lib/dox/entities/resource_group.rb', line 5

def resources
  @resources
end