Class: Katello::RepositoryType::GenericRemoteOption

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) ⇒ GenericRemoteOption

Returns a new instance of GenericRemoteOption.



232
233
234
235
236
237
238
239
240
# File 'app/services/katello/repository_type.rb', line 232

def initialize(options)
  self.name = options[:name]
  self.title = options[:title]
  self.type = options[:type]
  self.description = options[:description]
  self.input_type = options[:input_type]
  self.delimiter = options[:delimiter]
  self.default = options[:default]
end

Instance Attribute Details

#defaultObject

Returns the value of attribute default.



230
231
232
# File 'app/services/katello/repository_type.rb', line 230

def default
  @default
end

#delimiterObject

Returns the value of attribute delimiter.



230
231
232
# File 'app/services/katello/repository_type.rb', line 230

def delimiter
  @delimiter
end

#descriptionObject

Returns the value of attribute description.



230
231
232
# File 'app/services/katello/repository_type.rb', line 230

def description
  @description
end

#input_typeObject

Returns the value of attribute input_type.



230
231
232
# File 'app/services/katello/repository_type.rb', line 230

def input_type
  @input_type
end

#nameObject

Returns the value of attribute name.



230
231
232
# File 'app/services/katello/repository_type.rb', line 230

def name
  @name
end

#titleObject

Returns the value of attribute title.



230
231
232
# File 'app/services/katello/repository_type.rb', line 230

def title
  @title
end

#typeObject

Returns the value of attribute type.



230
231
232
# File 'app/services/katello/repository_type.rb', line 230

def type
  @type
end