JSON API responses cannot have elements named 'request' or 'response'
|Assignee:||Go MAEDA||% Done:|
I stumbled upon this while creating a Plugin with an API.
The problem is that
attr_accessor :request, :response. As a consequence, these get called instead of
Structure#method_missing when doing
api.response in a
This patch adds a test illustrating the problem and replaces the accessors with direct instance variable usage.