Class: Scalingo::Endpoint::Autoscaler
- Defined in:
- lib/scalingo/endpoint/autoscalers.rb
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
- #destroy ⇒ Object
-
#update(params) ⇒ Object
-
container_type can’t be changed Additional fields - disabled: if true, autoscaler will stop manipulating container formation.
-
Methods inherited from Resource
Methods included from Scalingo::Endpoint
Methods included from ClassMethods
Methods included from Base
Constructor Details
This class inherits a constructor from Scalingo::Endpoint::Resource
Instance Method Details
#destroy ⇒ Object
22 23 24 |
# File 'lib/scalingo/endpoint/autoscalers.rb', line 22 def destroy delete end |
#update(params) ⇒ Object
-
container_type can’t be changed
Additional fields
-
disabled: if true, autoscaler will stop manipulating container formation
18 19 20 |
# File 'lib/scalingo/endpoint/autoscalers.rb', line 18 def update(params) patch(nil, autoscaler: params) end |