{"action":"created","issue":{"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/80","repository_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby","labels_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/80/comments","events_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/80/events","html_url":"https://github.com/sendgrid/sendgrid-ruby/issues/80","id":167410977,"number":80,"title":"substitutions with transactional templates is broken","user":{"login":"34code","id":930787,"avatar_url":"https://avatars.githubusercontent.com/u/930787?v=3","gravatar_id":"","url":"https://api.github.com/users/34code","html_url":"https://github.com/34code","followers_url":"https://api.github.com/users/34code/followers","following_url":"https://api.github.com/users/34code/following{/other_user}","gists_url":"https://api.github.com/users/34code/gists{/gist_id}","starred_url":"https://api.github.com/users/34code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/34code/subscriptions","organizations_url":"https://api.github.com/users/34code/orgs","repos_url":"https://api.github.com/users/34code/repos","events_url":"https://api.github.com/users/34code/events{/privacy}","received_events_url":"https://api.github.com/users/34code/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/labels/status:%20help%20wanted","name":"status: help wanted","color":"159818"},{"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/labels/type:%20question","name":"type: question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-07-25T16:38:09Z","updated_at":"2016-08-31T02:01:57Z","closed_at":null,"body":"#### Issue Summary\r\n\r\nsubstitutions with transactional templates is broken\r\n\r\n\r\n#### Steps to Reproduce\r\n\r\n1. create a transactional template\r\n2. create some substitution vars with %user_name% or user_name format\r\n3. Try to send email using example code (v3 api)\r\n\r\nvariables should be replaced properly in the transactional template. This is badly broken. Also %var% inside things like href=\"%var%\" or src=\"%var%\" are not respected at all when trying to save in the code editor online on sendgrid.com. The template removes the % symbols after saving.\r\n\r\n#### Technical details:\r\n\r\n* sendgrid-ruby Version: master\r\n* Ruby Version: 2.2.3\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/comments/243637141","html_url":"https://github.com/sendgrid/sendgrid-ruby/issues/80#issuecomment-243637141","issue_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/80","id":243637141,"user":{"login":"themoor88","id":10791707,"avatar_url":"https://avatars.githubusercontent.com/u/10791707?v=3","gravatar_id":"","url":"https://api.github.com/users/themoor88","html_url":"https://github.com/themoor88","followers_url":"https://api.github.com/users/themoor88/followers","following_url":"https://api.github.com/users/themoor88/following{/other_user}","gists_url":"https://api.github.com/users/themoor88/gists{/gist_id}","starred_url":"https://api.github.com/users/themoor88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themoor88/subscriptions","organizations_url":"https://api.github.com/users/themoor88/orgs","repos_url":"https://api.github.com/users/themoor88/repos","events_url":"https://api.github.com/users/themoor88/events{/privacy}","received_events_url":"https://api.github.com/users/themoor88/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T02:01:57Z","updated_at":"2016-08-31T02:01:57Z","body":"Hello @thinkingserious \r\n\r\nThanks a lot for the fix. It works like a charm now!\r\n\r\nCheers,\r\nWajid"}}
{"actor":{"display_login":"themoor88"}}