Closed alokat closed 12 years ago
Hi sabman,
if I use your example code in a script ruby says there is an error with the following line
options = {body: data: {key: "value"}} ./trigger_push.rb:5: odd number list for Hash options = {body: data:{key: "value"}} ^ ./trigger_push.rb:5: syntax error, unexpected ':', expecting '}' options = {body: data:{key: "value"}} ^ ./trigger_push.rb:5: odd number list for Hash options = {body: data:{key: "value"}} ^ ./trigger_push.rb:5: syntax error, unexpected '}', expecting $end options = {body: data:{key: "value"}}
Both Ruby 1.8.7 and 1.9.3
I fixed it by changing your example script a little. If you want feel free to pull.
Regards, fritjof
cool thanks I merged it!
Hi sabman,
if I use your example code in a script ruby says there is an error with the following line
Both Ruby 1.8.7 and 1.9.3
I fixed it by changing your example script a little. If you want feel free to pull.
Regards, fritjof