Class: DBEventPublisher
- Inherits:
-
Object
- Object
- DBEventPublisher
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/db_event_model_types.rb
Constant Summary collapse
- PUBLISHERCONTEXT =
1
- FIELDS =
{ PUBLISHERCONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'publisherContext', :class => ::DBEventPublisherContext} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
75 |
# File 'lib/db_event_model_types.rb', line 75 def struct_fields; FIELDS; end |
#validate ⇒ Object
77 78 79 |
# File 'lib/db_event_model_types.rb', line 77 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field publisherContext is unset!') unless @publisherContext end |