class Bosh::Gen::Models::BoshConfig

Read-only interface to local ~/.bosh_config file

Public Class Methods

new(config_file="~/.bosh_config") click to toggle source
# File lib/bosh/gen/models/bosh_config.rb, line 6
def initialize(config_file="~/.bosh_config")
  @config_file = File.expand_path(config_file)
  @config = YAML.load_file(@config_file)
end

Public Instance Methods

target_uuid() click to toggle source
# File lib/bosh/gen/models/bosh_config.rb, line 11
def target_uuid
  @config["target_uuid"]
end