Class: ForemanFogProxmox::OptionsSelect
- Inherits:
-
Object
- Object
- ForemanFogProxmox::OptionsSelect
- Defined in:
- app/models/foreman_fog_proxmox/options_select.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#range ⇒ Object
Returns the value of attribute range.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ OptionsSelect
constructor
A new instance of OptionsSelect.
- #to_s ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ OptionsSelect
Returns a new instance of OptionsSelect.
28 29 30 31 32 |
# File 'app/models/foreman_fog_proxmox/options_select.rb', line 28 def initialize(args = {}) @id = args[:id] @name = args[:name] @range = args[:range] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
22 23 24 |
# File 'app/models/foreman_fog_proxmox/options_select.rb', line 22 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
22 23 24 |
# File 'app/models/foreman_fog_proxmox/options_select.rb', line 22 def name @name end |
#range ⇒ Object
Returns the value of attribute range.
22 23 24 |
# File 'app/models/foreman_fog_proxmox/options_select.rb', line 22 def range @range end |
Instance Method Details
#to_s ⇒ Object
24 25 26 |
# File 'app/models/foreman_fog_proxmox/options_select.rb', line 24 def to_s id end |