lib/asana/resource_includes/event_subscription.rb in asana-0.8.1 vs lib/asana/resource_includes/event_subscription.rb in asana-0.9.0

- old
+ new

@@ -5,10 +5,10 @@ # Public: Mixin to enable a resource with the ability to fetch events about # itself. module EventSubscription # Public: Returns an infinite collection of events on the resource. def events(wait: 1, options: {}) - Events.new(resource: id, client: client, wait: wait, options: options) + Events.new(resource: gid, client: client, wait: wait, options: options) end end end end