Class: Katello::RepositoryType::GenericImportAttribute
- Inherits:
-
Object
- Object
- Katello::RepositoryType::GenericImportAttribute
- Defined in:
- app/services/katello/repository_type.rb
Instance Attribute Summary collapse
-
#api_param ⇒ Object
Returns the value of attribute api_param.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#required ⇒ Object
Returns the value of attribute required.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options) ⇒ GenericImportAttribute
constructor
A new instance of GenericImportAttribute.
Constructor Details
#initialize(options) ⇒ GenericImportAttribute
Returns a new instance of GenericImportAttribute.
245 246 247 248 249 250 251 |
# File 'app/services/katello/repository_type.rb', line 245 def initialize() self.name = [:name] self.api_param = [:api_param] self.type = [:type] self.description = [:description] self.required = [:required] end |
Instance Attribute Details
#api_param ⇒ Object
Returns the value of attribute api_param.
243 244 245 |
# File 'app/services/katello/repository_type.rb', line 243 def api_param @api_param end |
#description ⇒ Object
Returns the value of attribute description.
243 244 245 |
# File 'app/services/katello/repository_type.rb', line 243 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
243 244 245 |
# File 'app/services/katello/repository_type.rb', line 243 def name @name end |
#required ⇒ Object
Returns the value of attribute required.
243 244 245 |
# File 'app/services/katello/repository_type.rb', line 243 def required @required end |
#type ⇒ Object
Returns the value of attribute type.
243 244 245 |
# File 'app/services/katello/repository_type.rb', line 243 def type @type end |