Class: Runcible::Models::YumDistributor
- Inherits:
-
Distributor
- Object
- Distributor
- Runcible::Models::YumDistributor
- Defined in:
- lib/runcible/models/yum_distributor.rb
Instance Attribute Summary collapse
-
#auth_ca ⇒ Object
optional attributes.
-
#auth_cert ⇒ Object
optional attributes.
-
#checksum_type ⇒ Object
optional attributes.
-
#generate_metadata ⇒ Object
optional attributes.
-
#gpgkey ⇒ Object
optional attributes.
-
#http ⇒ Object
required attributes.
-
#http_publish_dir ⇒ Object
optional attributes.
-
#https ⇒ Object
required attributes.
-
#https_ca ⇒ Object
optional attributes.
-
#https_publish_dir ⇒ Object
optional attributes.
-
#protected ⇒ Object
optional attributes.
-
#relative_url ⇒ Object
required attributes.
-
#skip ⇒ Object
optional attributes.
Attributes inherited from Distributor
Class Method Summary collapse
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(relative_url, http, https, params = {}) ⇒ YumDistributor
constructor
A new instance of YumDistributor.
Methods inherited from Distributor
Constructor Details
#initialize(relative_url, http, https, params = {}) ⇒ YumDistributor
Returns a new instance of YumDistributor.
14 15 16 17 18 19 |
# File 'lib/runcible/models/yum_distributor.rb', line 14 def initialize(relative_url, http, https, params = {}) @relative_url = relative_url @http = http @https = https super(params) end |
Instance Attribute Details
#auth_ca ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def auth_ca @auth_ca end |
#auth_cert ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def auth_cert @auth_cert end |
#checksum_type ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def checksum_type @checksum_type end |
#generate_metadata ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def @generate_metadata end |
#gpgkey ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def gpgkey @gpgkey end |
#http ⇒ Object
required attributes
8 9 10 |
# File 'lib/runcible/models/yum_distributor.rb', line 8 def http @http end |
#http_publish_dir ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def http_publish_dir @http_publish_dir end |
#https ⇒ Object
required attributes
8 9 10 |
# File 'lib/runcible/models/yum_distributor.rb', line 8 def https @https end |
#https_ca ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def https_ca @https_ca end |
#https_publish_dir ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def https_publish_dir @https_publish_dir end |
#protected ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def protected @protected end |
#relative_url ⇒ Object
required attributes
8 9 10 |
# File 'lib/runcible/models/yum_distributor.rb', line 8 def relative_url @relative_url end |
#skip ⇒ Object
optional attributes
10 11 12 |
# File 'lib/runcible/models/yum_distributor.rb', line 10 def skip @skip end |
Class Method Details
.type_id ⇒ Object
21 22 23 |
# File 'lib/runcible/models/yum_distributor.rb', line 21 def self.type_id 'yum_distributor' end |
Instance Method Details
#config ⇒ Object
25 26 27 28 29 30 |
# File 'lib/runcible/models/yum_distributor.rb', line 25 def config to_ret = as_json to_ret.delete('auto_publish') to_ret.delete('id') to_ret end |