Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
add space between block params
Browse files Browse the repository at this point in the history
  • Loading branch information
amkirwan committed Sep 2, 2015
1 parent 87257ba commit 560d309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaks/lib/yaks/format/json_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def serialize_resource(resource)
def serialize_error(resource)
result = {}

resource.attributes.each { |k,v| result[k] = v }
resource.attributes.each { |k, v| result[k] = v }

links = serialize_links(resource.links)
result[:links] = links unless links.empty?
Expand Down

0 comments on commit 560d309

Please sign in to comment.