Class: Scalingo::Api
- Inherits:
-
Object
- Object
- Scalingo::Api
- Includes:
- Connection, Endpoint, JWT, RegionsCache, Request
- Defined in:
- lib/scalingo/api.rb
Direct Known Subclasses
Constant Summary
Constants included from Request
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Api
constructor
A new instance of Api.
Methods included from RegionsCache
Methods included from Endpoint
Methods included from Endpoint::ClassMethods
Constructor Details
#initialize(options = {}) ⇒ Api
Returns a new instance of Api.
12 13 14 15 16 17 |
# File 'lib/scalingo/api.rb', line 12 def initialize( = {}) = Scalingo..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |