lib/asana/resources/webhook.rb in asana-0.9.3 vs lib/asana/resources/webhook.rb in asana-0.10.0
- old
+ new
@@ -1,7 +1,6 @@
-### WARNING: This file is auto-generated by the asana-api-meta repo. Do not
-### edit it manually.
+require_relative 'gen/webhooks_base'
module Asana
module Resources
# Webhooks allow an application to be notified of changes. This is in addition
# to the ability to fetch those changes directly as
@@ -47,13 +46,11 @@
# "type": "task"\
# }
#
# Webhooks themselves contain only the information necessary to deliver the
# events to the desired target as they are generated.
- class Webhook < Resource
+ class Webhook < WebhooksBase
-
- attr_reader :id
attr_reader :gid
attr_reader :resource_type