class Guard::Bosh::GlobalPropertiesLoader
Properties defined at the top-level of the manifest. These may be shared by multiple BOSH jobs.
Public Class Methods
new(deployment_manifest:)
click to toggle source
# File lib/guard/bosh/global_properties_loader.rb, line 6 def initialize(deployment_manifest:) @deployment_manifest = deployment_manifest end
Public Instance Methods
load_properties(_)
click to toggle source
# File lib/guard/bosh/global_properties_loader.rb, line 10 def load_properties(_) global_properties = @deployment_manifest['properties'] if global_properties.nil? {} else global_properties end end