Class: Sequent::Core::TenantEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/sequent/core/event.rb

Direct Known Subclasses

CreateEvent

Instance Method Summary collapse

Methods inherited from Event

#payload

Methods included from Helpers::StringSupport

#to_s

Methods included from Helpers::EqualSupport

#==, #eql?, #hash

Methods included from Helpers::AttributeSupport

#attributes, included, #validation_errors

Methods included from Helpers::Copyable

#copy

Constructor Details

#initialize(args = {}) ⇒ TenantEvent

Returns a new instance of TenantEvent.



43
44
45
46
# File 'lib/sequent/core/event.rb', line 43

def initialize(args = {})
  super
  raise "Missing organization_id" unless @organization_id
end