diff options
Diffstat (limited to 'app/events/gitlab_subscriptions/renewed_event.rb')
-rw-r--r-- | app/events/gitlab_subscriptions/renewed_event.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/events/gitlab_subscriptions/renewed_event.rb b/app/events/gitlab_subscriptions/renewed_event.rb new file mode 100644 index 00000000000..02bf8ec7095 --- /dev/null +++ b/app/events/gitlab_subscriptions/renewed_event.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module GitlabSubscriptions + class RenewedEvent < Gitlab::EventStore::Event + def schema + { + 'type' => 'object', + 'required' => %w[ + namespace_id + ], + 'properties' => { + 'namespace_id' => { 'type' => 'integer' } + } + } + end + end +end |