SHARE
TWEET

Untitled

a guest Aug 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top