Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. module Workflows
  2. class OnboardProduction
  3. include NetflixInteractor
  4.  
  5. def self.call(production_id:, repo: ProductionRepo.new)
  6. super
  7. end
  8.  
  9. def call
  10. # validate inputs to check if it's okay to onboard a production?
  11. # cover edge cases
  12. # notify others about a production being onboarded
  13. end
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement