Skip to content

Conversation

@jnylen
Copy link

@jnylen jnylen commented Sep 3, 2017

Fixes #8

self.format = :jsonapi if @format.nil?
return unless @_jsonapi.key?(:data)
self.body = JSONAPI::Serializable::Renderer.render(@_jsonapi[:data],
self.body = JSONAPI::Serializable::SuccessRenderer.new.render(@_jsonapi[:data],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [87/80]

@beauby
Copy link
Member

beauby commented Sep 12, 2017

Thanks for this! The actualy error is weird though, as jsonapi-serializable v0.1.1 does not have a SuccessRenderer (see here).

@beauby
Copy link
Member

beauby commented Sep 12, 2017

Right, but jsonapi-rb had loose dep pinning in 0.1.2, hence the current behavior.

@jnylen
Copy link
Author

jnylen commented Sep 13, 2017

Closed due to #12.

@jnylen jnylen closed this Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants