class Bosh::Director::DeploymentPlan::TemplateLink

Public Class Methods

parse(kind, link_def) click to toggle source
# File lib/bosh/director/deployment_plan/links/template_link.rb, line 4
def self.parse(kind, link_def)
  if kind == "consumes"
    return self.parse_consumes_link(link_def)
  elsif kind == "provides"
    return self.parse_provides_link(link_def)
  end
end

Public Instance Methods

to_s() click to toggle source
# File lib/bosh/director/deployment_plan/links/template_link.rb, line 36
def to_s
  "name: #{name}, type: #{type}, shared: #{shared || false}"
end