Class: Bosh::Director::Api::DirectorUUIDProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/bosh/director/api/director_uuid_provider.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ DirectorUUIDProvider

Returns a new instance of DirectorUUIDProvider.



5
6
7
# File 'lib/bosh/director/api/director_uuid_provider.rb', line 5

def initialize(config)
  @config = config
end

Instance Method Details

#uuidObject



9
10
11
# File 'lib/bosh/director/api/director_uuid_provider.rb', line 9

def uuid
  @config.uuid
end