Class: Katello::RepositoryType::GenericImportAttribute

Inherits:
Object
  • Object
show all
Defined in:
app/services/katello/repository_type.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options)
  self.name = options[:name]
  self.api_param = options[:api_param]
  self.type = options[:type]
  self.description = options[:description]
  self.required = options[:required]
end

Instance Attribute Details

#api_paramObject

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

#descriptionObject

Returns the value of attribute description.



243
244
245
# File 'app/services/katello/repository_type.rb', line 243

def description
  @description
end

#nameObject

Returns the value of attribute name.



243
244
245
# File 'app/services/katello/repository_type.rb', line 243

def name
  @name
end

#requiredObject

Returns the value of attribute required.



243
244
245
# File 'app/services/katello/repository_type.rb', line 243

def required
  @required
end

#typeObject

Returns the value of attribute type.



243
244
245
# File 'app/services/katello/repository_type.rb', line 243

def type
  @type
end