lib/calendly/models/webhook_subscription.rb in calendly-0.8.0 vs lib/calendly/models/webhook_subscription.rb in calendly-0.8.1

- old
+ new

@@ -7,10 +7,10 @@ module Calendly # Calendly's webhook model. class WebhookSubscription include ModelUtils - UUID_RE = %r{\A#{Client::API_HOST}/webhook_subscriptions/(\w+)\z}.freeze + UUID_RE = %r{\A#{Client::API_HOST}/webhook_subscriptions/(#{UUID_FORMAT})\z}.freeze TIME_FIELDS = %i[created_at updated_at retry_started_at].freeze ASSOCIATION = {organization: Organization, user: User, creator: User}.freeze # @return [String] # unique id of the WebhookSubscription object.