Skip to content

Instantly share code, notes, and snippets.

@jch
Created November 22, 2011 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jch/1384826 to your computer and use it in GitHub Desktop.
Save jch/1384826 to your computer and use it in GitHub Desktop.
def response
resp = MultiJson.decode(last_response.body)
# add all of last_response's methods to resp
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment