Class: Scalingo::Endpoint::Notifiers

Inherits:
Collection show all
Defined in:
lib/scalingo/endpoint/notifiers.rb

Overview

  • platform_id

  • name

  • send_all_alerts (optional)

  • send_all_events (optional)

  • type_data (optional)

  • selected_event_ids (optional)

  • active (optional)

developers.scalingo.com/notifiers

Instance Attribute Summary

Attributes included from Base

#api, #auth_api, #prefix

Instance Method Summary collapse

Methods inherited from Collection

#all, #collection_name, #each, #find, #find_by, #resource_class

Methods included from Scalingo::Endpoint

included

Methods included from ClassMethods

#resources

Methods included from Base

#initialize

Instance Method Details

#create(params) ⇒ Object



13
14
15
# File 'lib/scalingo/endpoint/notifiers.rb', line 13

def create(params)
  post(nil, notifier: params)
end