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

Instance Method Summary collapse

Instance Attribute Details

#image_idObject

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_nameObject

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