Skip to content

Commit df54298

Browse files
fix(specs): ingestion expected and received events type [skip-bc] (generated)
algolia/api-clients-automation#4356 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent b01d72f commit df54298

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/algolia/models/ingestion/run_progress.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,14 @@ def initialize(attributes = {})
5858

5959
if attributes.key?(:expected_nb_of_events)
6060
self.expected_nb_of_events = attributes[:expected_nb_of_events]
61+
else
62+
self.expected_nb_of_events = nil
6163
end
6264

6365
if attributes.key?(:received_nb_of_events)
6466
self.received_nb_of_events = attributes[:received_nb_of_events]
67+
else
68+
self.received_nb_of_events = nil
6569
end
6670
end
6771

0 commit comments

Comments
 (0)