Skip to content

Refactor BasePresenter #252

@edimossilva

Description

@edimossilva

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions