Class: ForemanAzureRm::AzureRm::VMContainer
- Inherits:
-
Object
- Object
- ForemanAzureRm::AzureRm::VMContainer
- Defined in:
- app/models/foreman_azure_rm/azure_rm.rb
Instance Attribute Summary collapse
-
#virtualmachines ⇒ Object
Returns the value of attribute virtualmachines.
Instance Method Summary collapse
- #all(_options = {}) ⇒ Object
-
#initialize ⇒ VMContainer
constructor
A new instance of VMContainer.
Constructor Details
#initialize ⇒ VMContainer
Returns a new instance of VMContainer.
28 29 30 |
# File 'app/models/foreman_azure_rm/azure_rm.rb', line 28 def initialize @virtualmachines = [] end |
Instance Attribute Details
#virtualmachines ⇒ Object
Returns the value of attribute virtualmachines.
25 26 27 |
# File 'app/models/foreman_azure_rm/azure_rm.rb', line 25 def virtualmachines @virtualmachines end |
Instance Method Details
#all(_options = {}) ⇒ Object
32 33 34 |
# File 'app/models/foreman_azure_rm/azure_rm.rb', line 32 def all( = {}) @virtualmachines end |