In #48 we stepped up to using the Decidim::Liquidvoting module as a facade, a central place to get Liquidvoting things done. We moved the lv_state part of Decidim::Liquidvoting::ApiClient calls here.
To be consistent, to encapsulate all ApiClient calls, to wrap the vote count update with the api call, and to simplify doing Liquidvoting things, we should move those api calls (currently in controllers and commands) into the Liquidvoting module.
In #48 we stepped up to using the
Decidim::Liquidvoting
module as a facade, a central place to get Liquidvoting things done. We moved thelv_state
part ofDecidim::Liquidvoting::ApiClient
calls here.To be consistent, to encapsulate all
ApiClient
calls, to wrap the vote count update with the api call, and to simplify doing Liquidvoting things, we should move those api calls (currently in controllers and commands) into the Liquidvoting module.