Skip to content

outgoing_body_filter not used #46

Description

@kookster

the outgoing_body_filter method is described and has a base implementation in hyper_resource.rb

  ## +outgoing_body_filter+ filters a hash of attribute keys and values
  ## on their way from a HyperResource to a request body.  Override this
  ## in a subclass of HyperResource to implement filters on outgoing data.
  def outgoing_body_filter(attr_hash)
    attr_hash
  end

https://github.com/gamache/hyperresource/blob/master/lib/hyper_resource.rb#L152-L157

But, it isn't called anywhere, so implementing it in a subclass does nothing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions