Class: Nylas::Webhook

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/nylas/webhook.rb

Overview

Represents a webhook attached to your application.

Instance Attribute Summary

Attributes included from Model

#api

Class Method Summary collapse

Methods included from Model

#create, #destroy, #execute, included, #model_class, #persisted?, #reload, #resource_path, #resources_path, #save, #save_all_attributes, #to_json, #update, #update_all_attributes

Class Method Details

.resources_path(api:) ⇒ Object



17
18
19
# File 'lib/nylas/webhook.rb', line 17

def self.resources_path(api:)
  "/a/#{api.app_id}/webhooks"
end