Module: AppEngine

Defined in:
lib/appengine.rb,
lib/appengine/env.rb,
lib/appengine/exec.rb,
lib/appengine/tasks.rb,
lib/appengine/railtie.rb,
lib/appengine/version.rb,
lib/appengine/util/gcloud.rb

Overview

Google AppEngine integration

The AppEngine module includes optional tools helping Ruby applications to integrate more closely with the Google App Engine environment.

Defined Under Namespace

Modules: Tasks, Util Classes: Railtie

Constant Summary collapse

Env =

A convenience object that provides information on the Google Cloud hosting environment. For example, you can call

if AppEngine::Env.app_engine?
  # Do something
end

Technically, Env is not actually a module, but is simply set to the Google::Cloud.env object.

This is provided mostly for backward compatibility with previous usage, and is mildly deprecated. Generally, you should call Google::Cloud.env directly instead. See the documentation for the google-cloud-env gem.

::Google::Cloud.env
Exec =

The Appengine gem uses the Google Serverless gem for remote execution. This may be used for safe running of ops and maintenance tasks, such as database migrations in a production serverless environment. See Google Serverless Exec for more information on the usage documentation

Google::Serverless::Exec
VERSION =

The current version of this gem, as a string.

"0.7.0"