Module: Scalingo
- Extended by:
- Configuration
- Defined in:
- lib/scalingo.rb,
lib/scalingo/api.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/endpoint/stats.rb,
lib/scalingo/endpoint/addons.rb,
lib/scalingo/endpoint/events.rb,
lib/scalingo/endpoint/domains.rb,
lib/scalingo/endpoint/variables.rb,
lib/scalingo/endpoint/containers.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, Realtime, Request Classes: Api, BadRequest, Client, Error, InternalServerError, Logs, MissingToken, NotFound
Constant Summary collapse
- VERSION =
'1.1.1'
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_PARSE_JSON, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_TOKEN, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
- .client(options = {}) ⇒ Object
- .method_missing(method, *args, &block) ⇒ Object
- .respond_to?(method) ⇒ Boolean
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( = {}) Scalingo::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
17 18 19 20 |
# File 'lib/scalingo.rb', line 17 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method) ⇒ Boolean
22 23 24 |
# File 'lib/scalingo.rb', line 22 def self.respond_to?(method) return client.respond_to?(method) || super end |