Guest User

Untitled

a guest
Oct 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. # Given an id, load and produce a Person instance
  2. class LoadPersonById < PiecePipe::Step
  3. def process(person_id)
  4. produce Person.find(id)
  5. end
  6. end
Add Comment
Please, Sign In to add comment