Class: Harvest::Changers::TimeEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/harvest/changers.rb

Instance Method Summary collapse

Instance Method Details

#change(factory, client, _active_user, state, kwargs) ⇒ Object



6
7
8
9
10
11
# File 'lib/harvest/changers.rb', line 6

def change(factory, client, _active_user, state, kwargs)
  # binding.pry
  state[state[:active]].map do |te|
    send(kwargs[:action].to_sym, factory, client, te)
  end
end