Class: Mooset::SynchronizeUsers
- Inherits:
-
Object
- Object
- Mooset::SynchronizeUsers
- Defined in:
- lib/mooset/synchronize_users.rb
Class Method Summary collapse
Class Method Details
.call(from, to, opts) ⇒ Object
3 4 5 6 7 |
# File 'lib/mooset/synchronize_users.rb', line 3 def self.call(from, to, opts) from.users(opts[:query]).each do |user| to.write(user) end end |