Skip to content

Instantly share code, notes, and snippets.

@fxn
Created March 30, 2017 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fxn/df3eccb2f8408d375391ab73d77f47bd to your computer and use it in GitHub Desktop.
Save fxn/df3eccb2f8408d375391ab73d77f47bd to your computer and use it in GitHub Desktop.
class EventsLoader
def initialize(...)
...
end
def load
load_job_creation_events +
load_drivers_on_duty_events +
load_drivers_off_duty_events +
load_drivers_rejected_events
end
private
def load_job_creation_events
...
end
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment