Module: ForemanM2::ComputeResourceExtensions
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/foreman_m2/compute_resource_extensions.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#image_id ⇒ Object
Returns the value of attribute image_id.
Instance Method Summary collapse
-
#instance_method_name ⇒ Object
create or overwrite instance methods…
- #new_vm(_attr = {}) ⇒ Object
Instance Attribute Details
#image_id ⇒ Object
Returns the value of attribute image_id.
5 6 7 |
# File 'app/models/concerns/foreman_m2/compute_resource_extensions.rb', line 5 def image_id @image_id end |
Instance Method Details
#instance_method_name ⇒ Object
create or overwrite instance methods…
12 |
# File 'app/models/concerns/foreman_m2/compute_resource_extensions.rb', line 12 def instance_method_name; end |
#new_vm(_attr = {}) ⇒ Object
14 15 16 |
# File 'app/models/concerns/foreman_m2/compute_resource_extensions.rb', line 14 def new_vm(_attr = {}) self end |