Skip to content

Added body content to hash_content#2

Open
jShaf wants to merge 1 commit intobougyman:masterfrom
jShaf:master
Open

Added body content to hash_content#2
jShaf wants to merge 1 commit intobougyman:masterfrom
jShaf:master

Conversation

@jShaf
Copy link
Collaborator

@jShaf jShaf commented Feb 16, 2011

Changed from
hash_content = headers_2_hash(content) to
hash_content = headers_2_hash(content).merge(:body => content.split("\n\n",2)[1].to_s)

Thanks bougyman for your help!

bougyman added a commit that referenced this pull request Dec 28, 2011
Convert headers of received events (in JSON format) into symbols
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.

1 participant