The class BasePresenter has 2 methods payload_for_item and payload_for_items
this refactor includes
- rename them to
payload_for_resource and payload_for_resources
- make both methods private
- create public method
payload_for that identifies if payload_for_resource or payload_for_resources should be used internaly
The class BasePresenter has 2 methods
payload_for_itemandpayload_for_itemsthis refactor includes
payload_for_resourceandpayload_for_resourcespayload_forthat identifies ifpayload_for_resourceorpayload_for_resourcesshould be used internaly