Class: Scalingo::Endpoint::Variable
- Inherits:
-
Resource
- Object
- OpenStruct
- Resource
- Scalingo::Endpoint::Variable
show all
- Defined in:
- lib/scalingo/endpoint/variables.rb
Instance Attribute Summary
Attributes included from Base
#api, #auth_api, #prefix
Instance Method Summary
collapse
Methods inherited from Resource
#initialize
included
#resources
Methods included from Base
#initialize
Instance Method Details
#destroy ⇒ Object
17
18
19
|
# File 'lib/scalingo/endpoint/variables.rb', line 17
def destroy
delete
end
|
#update(value) ⇒ Object
13
14
15
|
# File 'lib/scalingo/endpoint/variables.rb', line 13
def update(value)
patch(nil, variable: { value: value })
end
|