Class: ForemanVirtWhoConfigure::OutputGenerator::ConfigurationResult
- Inherits:
-
Object
- Object
- ForemanVirtWhoConfigure::OutputGenerator::ConfigurationResult
- Defined in:
- app/models/foreman_virt_who_configure/output_generator.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code, identifier, message) ⇒ ConfigurationResult
constructor
A new instance of ConfigurationResult.
Constructor Details
#initialize(code, identifier, message) ⇒ ConfigurationResult
Returns a new instance of ConfigurationResult.
7 8 9 |
# File 'app/models/foreman_virt_who_configure/output_generator.rb', line 7 def initialize(code, identifier, ) @code, @message, @identifier = code, , identifier end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
6 7 8 |
# File 'app/models/foreman_virt_who_configure/output_generator.rb', line 6 def code @code end |
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
6 7 8 |
# File 'app/models/foreman_virt_who_configure/output_generator.rb', line 6 def identifier @identifier end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
6 7 8 |
# File 'app/models/foreman_virt_who_configure/output_generator.rb', line 6 def @message end |