Class: FinchAPI::Models::CompanyEvent
- Inherits:
-
BaseWebhookEvent
- Object
- BaseWebhookEvent
- FinchAPI::Models::CompanyEvent
- Defined in:
- lib/finch-api/models/company_event.rb
Defined Under Namespace
Modules: EventType
Instance Attribute Summary collapse
Attributes inherited from BaseWebhookEvent
#account_id, #company_id, #connection_id
Instance Method Summary collapse
-
#initialize(data: nil, event_type: nil) ⇒ CompanyEvent
constructor
A new instance of CompanyEvent.
Constructor Details
#initialize(data: nil, event_type: nil) ⇒ CompanyEvent
Returns a new instance of CompanyEvent.
4 |
# File 'lib/finch-api/models/company_event.rb', line 4 def initialize(data: nil, event_type: nil, **) = super |
Instance Attribute Details
#data ⇒ Hash{Symbol=>Object}?
9 |
# File 'lib/finch-api/models/company_event.rb', line 9 optional :data, FinchAPI::HashOf[FinchAPI::Unknown], nil?: true |
#event_type ⇒ Symbol, ...
14 |
# File 'lib/finch-api/models/company_event.rb', line 14 optional :event_type, enum: -> { FinchAPI::Models::CompanyEvent::EventType } |