Class: SimpleAcp::Models::RunCancelledEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/simple_acp/models/events.rb

Overview

Run cancelled event

Instance Attribute Summary

Attributes inherited from Event

#type

Instance Method Summary collapse

Methods inherited from Event

#sse_format

Methods inherited from Base

#==, attribute, attributes, from_hash, #hash, own_attributes, #to_h, #to_json

Constructor Details

#initialize(**kwargs) ⇒ RunCancelledEvent

Returns a new instance of RunCancelledEvent.



159
160
161
162
# File 'lib/simple_acp/models/events.rb', line 159

def initialize(**kwargs)
  kwargs[:type] = Types::EventType::RUN_CANCELLED
  super
end