Module: Cfenv

Extended by:
Application, Services
Defined in:
lib/cfenv.rb,
lib/cfenv/version.rb,
lib/cfenv/services.rb,
lib/cfenv/application.rb

Defined Under Namespace

Modules: Application, Services

Constant Summary collapse

VERSION =
'0.0.2'

Constants included from Application

Application::WHITELISTED_SYMBOLS

Class Method Summary collapse

Methods included from Services

service, services, vcap_services

Methods included from Application

method_missing_with_whitelisted_symbol_check, vcap_application

Class Method Details

.vcap?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/cfenv.rb', line 12

def self.vcap?
  !vcap_application.empty?
end