Method: Yapt::Move.setup

Defined in:
lib/yapt/move.rb

.setup(id, target_id) ⇒ Object



3
4
5
6
7
# File 'lib/yapt/move.rb', line 3

def self.setup(id, target_id)
  to_move = Story.find(id)
  target = Story.find(target_id)
  new(to_move, target)
end