| Conditions | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # frozen_string_literal: true |
||
| 25 | def plan(current_state, desired_state) |
||
| 26 | plan = [ |
||
| 27 | *@accounts.plan(current_state.accounts, desired_state.accounts), |
||
| 28 | *@groups.plan(current_state.groups, desired_state.groups) |
||
| 29 | ] |
||
| 30 | plan.each do |action| |
||
| 31 | action.class_name = action.class.to_s |
||
| 32 | end |
||
| 33 | plan |
||
| 34 | end |
||
| 35 | end |
||
| 39 |