Class: EnvironmentController

Inherits:
BaseController show all
Defined in:
app/controllers/environment_controller.rb

Constant Summary

Constants inherited from BaseController

BaseController::API_VERSION, BaseController::SUPPORTED_API_VERSIONS

Instance Method Summary collapse

Methods included from UserActionLogger

#get_action_logger, #log_action

Instance Method Details

#showObject

GET /environment



6
7
8
9
10
# File 'app/controllers/environment_controller.rb', line 6

def show
  environment = {}
  environment['domain_suffix'] = Rails.application.config.openshift[:domain_suffix] 
  render_success(:ok, "environment", environment, "GET_ENVIRONMENT",  "Showing broker environment")
end