Class: Scalingo::Endpoint::Notifier

Inherits:
Resource
  • Object
show all
Defined in:
lib/scalingo/endpoint/notifiers.rb

Instance Attribute Summary

Attributes included from Base

#api, #auth_api, #prefix

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Methods included from Scalingo::Endpoint

included

Methods included from ClassMethods

#resources

Methods included from Base

#initialize

Constructor Details

This class inherits a constructor from Scalingo::Endpoint::Resource

Instance Method Details

#destroyObject



23
24
25
# File 'lib/scalingo/endpoint/notifiers.rb', line 23

def destroy
  delete
end

#update(params) ⇒ Object

params: platform_id can’t be changed



19
20
21
# File 'lib/scalingo/endpoint/notifiers.rb', line 19

def update(params)
  patch(nil, notifier: params)
end