{"action":"created","comment":{"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/comments/69627718","id":69627718,"diff_hunk":"@@ -0,0 +1,13 @@\n+module SendGrid","path":"lib/sendgrid/settings/mail_settings.rb","position":1,"original_position":1,"commit_id":"ef33489786f0bb6c6f08826d16021ce0bfaa0953","original_commit_id":"ef33489786f0bb6c6f08826d16021ce0bfaa0953","user":{"login":"thinkingserious","id":146695,"avatar_url":"https://avatars.githubusercontent.com/u/146695?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkingserious","html_url":"https://github.com/thinkingserious","followers_url":"https://api.github.com/users/thinkingserious/followers","following_url":"https://api.github.com/users/thinkingserious/following{/other_user}","gists_url":"https://api.github.com/users/thinkingserious/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkingserious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkingserious/subscriptions","organizations_url":"https://api.github.com/users/thinkingserious/orgs","repos_url":"https://api.github.com/users/thinkingserious/repos","events_url":"https://api.github.com/users/thinkingserious/events{/privacy}","received_events_url":"https://api.github.com/users/thinkingserious/received_events","type":"User","site_admin":false},"body":"Please move to the helpers directory.","created_at":"2016-07-05T20:02:04Z","updated_at":"2016-07-05T20:02:04Z","html_url":"https://github.com/sendgrid/sendgrid-ruby/pull/70#discussion_r69627718","pull_request_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/comments/69627718"},"html":{"href":"https://github.com/sendgrid/sendgrid-ruby/pull/70#discussion_r69627718"},"pull_request":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70","id":76330689,"html_url":"https://github.com/sendgrid/sendgrid-ruby/pull/70","diff_url":"https://github.com/sendgrid/sendgrid-ruby/pull/70.diff","patch_url":"https://github.com/sendgrid/sendgrid-ruby/pull/70.patch","issue_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/70","number":70,"state":"open","locked":false,"title":"Adds an account settings management helper object","user":{"login":"kernkw","id":1660898,"avatar_url":"https://avatars.githubusercontent.com/u/1660898?v=3","gravatar_id":"","url":"https://api.github.com/users/kernkw","html_url":"https://github.com/kernkw","followers_url":"https://api.github.com/users/kernkw/followers","following_url":"https://api.github.com/users/kernkw/following{/other_user}","gists_url":"https://api.github.com/users/kernkw/gists{/gist_id}","starred_url":"https://api.github.com/users/kernkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernkw/subscriptions","organizations_url":"https://api.github.com/users/kernkw/orgs","repos_url":"https://api.github.com/users/kernkw/repos","events_url":"https://api.github.com/users/kernkw/events{/privacy}","received_events_url":"https://api.github.com/users/kernkw/received_events","type":"User","site_admin":false},"body":"This PR should simplify the ability to retrieve or update account settings with just the name of the setting, instead of needing to know if a setting is a tracking, mail, user, or partner. This PR also pulls in rspec and faker gem to increase test thoroughness. \r\n\r\nSee example or readme for example.\r\n\r\nLet me know your thoughts on this, I also have plans to add wrappers around other account management endpoints, such as subuser creation and management, stats, etc\r\n","created_at":"2016-07-05T19:40:51Z","updated_at":"2016-07-05T20:02:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3e321b8edc52a17f34155eb5ee1fab793ad9c5a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70/commits","review_comments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70/comments","review_comment_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/70/comments","statuses_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/statuses/ef33489786f0bb6c6f08826d16021ce0bfaa0953","head":{"label":"kernkw:settings_helper","ref":"settings_helper","sha":"ef33489786f0bb6c6f08826d16021ce0bfaa0953","user":{"login":"kernkw","id":1660898,"avatar_url":"https://avatars.githubusercontent.com/u/1660898?v=3","gravatar_id":"","url":"https://api.github.com/users/kernkw","html_url":"https://github.com/kernkw","followers_url":"https://api.github.com/users/kernkw/followers","following_url":"https://api.github.com/users/kernkw/following{/other_user}","gists_url":"https://api.github.com/users/kernkw/gists{/gist_id}","starred_url":"https://api.github.com/users/kernkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernkw/subscriptions","organizations_url":"https://api.github.com/users/kernkw/orgs","repos_url":"https://api.github.com/users/kernkw/repos","events_url":"https://api.github.com/users/kernkw/events{/privacy}","received_events_url":"https://api.github.com/users/kernkw/received_events","type":"User","site_admin":false},"repo":{"id":60541889,"name":"sendgrid-ruby","full_name":"kernkw/sendgrid-ruby","owner":{"login":"kernkw","id":1660898,"avatar_url":"https://avatars.githubusercontent.com/u/1660898?v=3","gravatar_id":"","url":"https://api.github.com/users/kernkw","html_url":"https://github.com/kernkw","followers_url":"https://api.github.com/users/kernkw/followers","following_url":"https://api.github.com/users/kernkw/following{/other_user}","gists_url":"https://api.github.com/users/kernkw/gists{/gist_id}","starred_url":"https://api.github.com/users/kernkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernkw/subscriptions","organizations_url":"https://api.github.com/users/kernkw/orgs","repos_url":"https://api.github.com/users/kernkw/repos","events_url":"https://api.github.com/users/kernkw/events{/privacy}","received_events_url":"https://api.github.com/users/kernkw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kernkw/sendgrid-ruby","description":"Official Ruby Gem for the SendGrid email Web API.","fork":true,"url":"https://api.github.com/repos/kernkw/sendgrid-ruby","forks_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/forks","keys_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/teams","hooks_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/hooks","issue_events_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/events","assignees_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/tags","blobs_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/languages","stargazers_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/stargazers","contributors_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/contributors","subscribers_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/subscribers","subscription_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/subscription","commits_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/merges","archive_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/downloads","issues_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/labels{/name}","releases_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/kernkw/sendgrid-ruby/deployments","created_at":"2016-06-06T16:08:30Z","updated_at":"2016-06-06T16:08:31Z","pushed_at":"2016-07-05T19:56:11Z","git_url":"git://github.com/kernkw/sendgrid-ruby.git","ssh_url":"git@github.com:kernkw/sendgrid-ruby.git","clone_url":"https://github.com/kernkw/sendgrid-ruby.git","svn_url":"https://github.com/kernkw/sendgrid-ruby","homepage":"http://sendgrid.com","size":288,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sendgrid:master","ref":"master","sha":"77731f2ea16c5023fec17ef7b48fc12e4994de1b","user":{"login":"sendgrid","id":181234,"avatar_url":"https://avatars.githubusercontent.com/u/181234?v=3","gravatar_id":"","url":"https://api.github.com/users/sendgrid","html_url":"https://github.com/sendgrid","followers_url":"https://api.github.com/users/sendgrid/followers","following_url":"https://api.github.com/users/sendgrid/following{/other_user}","gists_url":"https://api.github.com/users/sendgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/sendgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendgrid/subscriptions","organizations_url":"https://api.github.com/users/sendgrid/orgs","repos_url":"https://api.github.com/users/sendgrid/repos","events_url":"https://api.github.com/users/sendgrid/events{/privacy}","received_events_url":"https://api.github.com/users/sendgrid/received_events","type":"Organization","site_admin":false},"repo":{"id":20687208,"name":"sendgrid-ruby","full_name":"sendgrid/sendgrid-ruby","owner":{"login":"sendgrid","id":181234,"avatar_url":"https://avatars.githubusercontent.com/u/181234?v=3","gravatar_id":"","url":"https://api.github.com/users/sendgrid","html_url":"https://github.com/sendgrid","followers_url":"https://api.github.com/users/sendgrid/followers","following_url":"https://api.github.com/users/sendgrid/following{/other_user}","gists_url":"https://api.github.com/users/sendgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/sendgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendgrid/subscriptions","organizations_url":"https://api.github.com/users/sendgrid/orgs","repos_url":"https://api.github.com/users/sendgrid/repos","events_url":"https://api.github.com/users/sendgrid/events{/privacy}","received_events_url":"https://api.github.com/users/sendgrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sendgrid/sendgrid-ruby","description":"Official Ruby Gem for the SendGrid email Web API.","fork":false,"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby","forks_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/forks","keys_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/teams","hooks_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/hooks","issue_events_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/events","assignees_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/tags","blobs_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/languages","stargazers_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/stargazers","contributors_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/contributors","subscribers_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/subscribers","subscription_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/subscription","commits_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/merges","archive_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/downloads","issues_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/labels{/name}","releases_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/deployments","created_at":"2014-06-10T13:56:38Z","updated_at":"2016-07-01T13:29:40Z","pushed_at":"2016-07-05T19:56:11Z","git_url":"git://github.com/sendgrid/sendgrid-ruby.git","ssh_url":"git@github.com:sendgrid/sendgrid-ruby.git","clone_url":"https://github.com/sendgrid/sendgrid-ruby.git","svn_url":"https://github.com/sendgrid/sendgrid-ruby","homepage":"http://sendgrid.com","size":304,"stargazers_count":140,"watchers_count":140,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":1,"forks":55,"open_issues":1,"watchers":140,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70"},"html":{"href":"https://github.com/sendgrid/sendgrid-ruby/pull/70"},"issue":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/70"},"comments":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/statuses/ef33489786f0bb6c6f08826d16021ce0bfaa0953"}}}}
{"actor":{"display_login":"thinkingserious"}}