Class: Projects::ReleasePublishedEvent

Inherits:
Gitlab::EventStore::Event show all
Defined in:
app/events/projects/release_published_event.rb

Instance Attribute Summary

Attributes inherited from Gitlab::EventStore::Event

#data

Instance Method Summary collapse

Methods inherited from Gitlab::EventStore::Event

#initialize, json_schema

Constructor Details

This class inherits a constructor from Gitlab::EventStore::Event

Instance Method Details

#schemaObject



5
6
7
8
9
10
11
12
13
# File 'app/events/projects/release_published_event.rb', line 5

def schema
  {
    'type' => 'object',
    'properties' => {
      'release_id' => { 'type' => 'integer' }
    },
    'required' => %w[release_id]
  }
end