Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Workflows
- class OnboardProduction
- include NetflixInteractor
- def self.call(production_id:, repo: ProductionRepo.new)
- super
- end
- def call
- # validate inputs to check if it's okay to onboard a production?
- # cover edge cases
- # notify others about a production being onboarded
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement