Module: Scalingo

Extended by:
Configuration
Defined in:
lib/scalingo.rb,
lib/scalingo/api.rb,
lib/scalingo/jwt.rb,
lib/scalingo/logs.rb,
lib/scalingo/error.rb,
lib/scalingo/client.rb,
lib/scalingo/request.rb,
lib/scalingo/version.rb,
lib/scalingo/endpoint.rb,
lib/scalingo/connection.rb,
lib/scalingo/configuration.rb,
lib/scalingo/endpoint/apps.rb,
lib/scalingo/realtime/logs.rb,
lib/scalingo/regions_cache.rb,
lib/scalingo/endpoint/stats.rb,
lib/scalingo/endpoint/addons.rb,
lib/scalingo/endpoint/alerts.rb,
lib/scalingo/endpoint/events.rb,
lib/scalingo/endpoint/domains.rb,
lib/scalingo/endpoint/regions.rb,
lib/scalingo/endpoint/notifiers.rb,
lib/scalingo/endpoint/variables.rb,
lib/scalingo/endpoint/containers.rb,
lib/scalingo/endpoint/autoscalers.rb,
lib/scalingo/endpoint/deployments.rb,
lib/scalingo/endpoint/account_keys.rb,
lib/scalingo/endpoint/collaborators.rb,
lib/scalingo/endpoint/addon_provider.rb,
lib/scalingo/endpoint/addon_categories.rb

Defined Under Namespace

Modules: Configuration, Connection, Endpoint, JWT, Realtime, RegionsCache, Request Classes: Api, BadRequest, Client, Error, InternalServerError, InvalidRegion, Logs, MissingRegion, MissingToken, NotFound

Constant Summary collapse

VERSION =
'2.0.1'

Constants included from Configuration

Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_AUTH_ENDPOINT, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_TOKEN, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

configure, extended, options, reset

Class Method Details

.client(options = {}) ⇒ Object



13
14
15
# File 'lib/scalingo.rb', line 13

def self.client(options = {})
  Scalingo::Client.new(options)
end

.respond_to?(method) ⇒ Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/scalingo.rb', line 17

def self.respond_to?(method)
  return client.respond_to?(method) || super
end