Class: FinchAPI::Models::AccountUpdateEvent

Inherits:
BaseWebhookEvent show all
Defined in:
lib/finch-api/models/account_update_event.rb

Defined Under Namespace

Modules: EventType Classes: Data

Instance Attribute Summary collapse

Attributes inherited from BaseWebhookEvent

#account_id, #company_id, #connection_id

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data: nil, event_type: nil) ⇒ AccountUpdateEvent

Returns a new instance of AccountUpdateEvent.

Parameters:



4
# File 'lib/finch-api/models/account_update_event.rb', line 4

def initialize(data: nil, event_type: nil, **) = super

Instance Attribute Details

#dataFinchAPI::Models::AccountUpdateEvent::Data?



9
# File 'lib/finch-api/models/account_update_event.rb', line 9

optional :data, -> { FinchAPI::Models::AccountUpdateEvent::Data }

#event_typeSymbol, ...



18
# File 'lib/finch-api/models/account_update_event.rb', line 18

optional :event_type, enum: -> { FinchAPI::Models::AccountUpdateEvent::EventType }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


2
# File 'lib/finch-api/models/account_update_event.rb', line 2

def self.values; end