Class: Runcible::Models::OstreeDistributor
- Inherits:
-
Distributor
- Object
- Distributor
- Runcible::Models::OstreeDistributor
- Defined in:
- lib/runcible/models/ostree_distributor.rb
Instance Attribute Summary collapse
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#ostree_publish_directory ⇒ Object
Returns the value of attribute ostree_publish_directory.
-
#relative_path ⇒ Object
Returns the value of attribute relative_path.
Attributes inherited from Distributor
Class Method Summary collapse
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(params = {}) ⇒ OstreeDistributor
constructor
A new instance of OstreeDistributor.
Methods inherited from Distributor
Constructor Details
#initialize(params = {}) ⇒ OstreeDistributor
Returns a new instance of OstreeDistributor.
9 10 11 |
# File 'lib/runcible/models/ostree_distributor.rb', line 9 def initialize(params = {}) super(params) end |
Instance Attribute Details
#depth ⇒ Object
Returns the value of attribute depth.
7 8 9 |
# File 'lib/runcible/models/ostree_distributor.rb', line 7 def depth @depth end |
#ostree_publish_directory ⇒ Object
Returns the value of attribute ostree_publish_directory.
7 8 9 |
# File 'lib/runcible/models/ostree_distributor.rb', line 7 def ostree_publish_directory @ostree_publish_directory end |
#relative_path ⇒ Object
Returns the value of attribute relative_path.
7 8 9 |
# File 'lib/runcible/models/ostree_distributor.rb', line 7 def relative_path @relative_path end |
Class Method Details
.type_id ⇒ Object
13 14 15 |
# File 'lib/runcible/models/ostree_distributor.rb', line 13 def self.type_id 'ostree_web_distributor' end |
Instance Method Details
#config ⇒ Object
17 18 19 20 21 22 |
# File 'lib/runcible/models/ostree_distributor.rb', line 17 def config to_ret = as_json to_ret.delete('auto_publish') to_ret.delete('id') to_ret end |