jsmestad / jsonapi-consumer

Client framework for consuming JSONAPI services in Ruby
https://github.com/jsmestad/jsonapi-consumer
Apache License 2.0
94 stars 18 forks source link

Allow parser to handle a namespace #25

Closed simmerz closed 6 years ago

simmerz commented 6 years ago

This PR allows a namespace to be handle by defining it as a class variable either in as base record or individual object classes.

jsmestad commented 6 years ago

@simmerz would you mind adding a rough spec, even if it fails, that can demonstrate the usage? Looks like a good change, just want to confirm I understand its usage

simmerz commented 6 years ago

@jsmestad updated with a passing test