Class: Scalingo::Endpoint::Alert
- Inherits:
-
Resource
- Object
- OpenStruct
- Resource
- Scalingo::Endpoint::Alert
show all
- Defined in:
- lib/scalingo/endpoint/alerts.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
20
21
22
|
# File 'lib/scalingo/endpoint/alerts.rb', line 20
def destroy
delete
end
|
#update(params) ⇒ Object
16
17
18
|
# File 'lib/scalingo/endpoint/alerts.rb', line 16
def update(params)
patch(nil, alert: params)
end
|