Class: Members::MembersAddedEvent

Inherits:
Gitlab::EventStore::Event show all
Defined in:
app/events/members/members_added_event.rb

Instance Attribute Summary

Attributes inherited from Gitlab::EventStore::Event

#data

Instance Method Summary collapse

Methods inherited from Gitlab::EventStore::Event

#initialize

Constructor Details

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

Instance Method Details

#schemaObject


5
6
7
8
9
10
11
12
13
14
# File 'app/events/members/members_added_event.rb', line 5

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