class Runcible::Models::PuppetDistributor
Attributes
absolute_path[RW]
http_dir[RW]
https_dir[RW]
serve_http[RW]
serve_https[RW]
Public Class Methods
new(absolute_path, http, https, params = {})
click to toggle source
Calls superclass method
Runcible::Models::Distributor.new
# File lib/runcible/models/puppet_distributor.rb, line 9 def initialize(absolute_path, http, https, params = {}) @absolute_path = absolute_path @serve_http = http @serve_https = https super(params) end
type_id()
click to toggle source
# File lib/runcible/models/puppet_distributor.rb, line 16 def self.type_id 'puppet_distributor' end
Public Instance Methods
config()
click to toggle source
# File lib/runcible/models/puppet_distributor.rb, line 20 def config to_ret = self.as_json to_ret.delete('absolute_path') if absolute_path.nil? to_ret.delete('auto_publish') to_ret.delete('id') to_ret end