{"action":"created","comment":{"url":"https://api.github.com/repos/optoro/active_shipping/pulls/comments/29763722","id":29763722,"diff_hunk":"@@ -498,7 +497,7 @@ def build_address(location, opts={})\n \n       def build_customs_clearence_detail(shipment, account, opts={})\n         XmlNode.new('CustomsClearanceDetail') do |node|\n-          if has_customs?(shipment, opts)\n+          if shipment.international?","path":"lib/active_shipping/shipping/carriers/fedex.rb","position":23,"original_position":23,"commit_id":"e5424e71d4dddc73c4897998628fab329a32c1e4","original_commit_id":"e5424e71d4dddc73c4897998628fab329a32c1e4","user":{"login":"garyf","id":37010,"avatar_url":"https://avatars.githubusercontent.com/u/37010?v=3","gravatar_id":"","url":"https://api.github.com/users/garyf","html_url":"https://github.com/garyf","followers_url":"https://api.github.com/users/garyf/followers","following_url":"https://api.github.com/users/garyf/following{/other_user}","gists_url":"https://api.github.com/users/garyf/gists{/gist_id}","starred_url":"https://api.github.com/users/garyf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyf/subscriptions","organizations_url":"https://api.github.com/users/garyf/orgs","repos_url":"https://api.github.com/users/garyf/repos","events_url":"https://api.github.com/users/garyf/events{/privacy}","received_events_url":"https://api.github.com/users/garyf/received_events","type":"User","site_admin":false},"body":"Agreed; TECH-772 created for that refactoring of #build_customs_clearence_detail","created_at":"2015-05-06T14:34:55Z","updated_at":"2015-05-06T14:34:55Z","html_url":"https://github.com/optoro/active_shipping/pull/30#discussion_r29763722","pull_request_url":"https://api.github.com/repos/optoro/active_shipping/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/optoro/active_shipping/pulls/comments/29763722"},"html":{"href":"https://github.com/optoro/active_shipping/pull/30#discussion_r29763722"},"pull_request":{"href":"https://api.github.com/repos/optoro/active_shipping/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/optoro/active_shipping/pulls/30","id":34404606,"html_url":"https://github.com/optoro/active_shipping/pull/30","diff_url":"https://github.com/optoro/active_shipping/pull/30.diff","patch_url":"https://github.com/optoro/active_shipping/pull/30.patch","issue_url":"https://api.github.com/repos/optoro/active_shipping/issues/30","number":30,"state":"open","locked":false,"title":"OT-5613 FedEx international shipment warning message","user":{"login":"garyf","id":37010,"avatar_url":"https://avatars.githubusercontent.com/u/37010?v=3","gravatar_id":"","url":"https://api.github.com/users/garyf","html_url":"https://github.com/garyf","followers_url":"https://api.github.com/users/garyf/followers","following_url":"https://api.github.com/users/garyf/following{/other_user}","gists_url":"https://api.github.com/users/garyf/gists{/gist_id}","starred_url":"https://api.github.com/users/garyf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyf/subscriptions","organizations_url":"https://api.github.com/users/garyf/orgs","repos_url":"https://api.github.com/users/garyf/repos","events_url":"https://api.github.com/users/garyf/events{/privacy}","received_events_url":"https://api.github.com/users/garyf/received_events","type":"User","site_admin":false},"body":"removes optional SpecialServicesRequested element from the xml produced from #ship_package\r\n","created_at":"2015-04-29T20:50:36Z","updated_at":"2015-05-06T14:34:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92896381c21b95eff941b1f375f674f39cccffb5","assignee":{"login":"jedprentice","id":1387269,"avatar_url":"https://avatars.githubusercontent.com/u/1387269?v=3","gravatar_id":"","url":"https://api.github.com/users/jedprentice","html_url":"https://github.com/jedprentice","followers_url":"https://api.github.com/users/jedprentice/followers","following_url":"https://api.github.com/users/jedprentice/following{/other_user}","gists_url":"https://api.github.com/users/jedprentice/gists{/gist_id}","starred_url":"https://api.github.com/users/jedprentice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedprentice/subscriptions","organizations_url":"https://api.github.com/users/jedprentice/orgs","repos_url":"https://api.github.com/users/jedprentice/repos","events_url":"https://api.github.com/users/jedprentice/events{/privacy}","received_events_url":"https://api.github.com/users/jedprentice/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/optoro/active_shipping/pulls/30/commits","review_comments_url":"https://api.github.com/repos/optoro/active_shipping/pulls/30/comments","review_comment_url":"https://api.github.com/repos/optoro/active_shipping/pulls/comments{/number}","comments_url":"https://api.github.com/repos/optoro/active_shipping/issues/30/comments","statuses_url":"https://api.github.com/repos/optoro/active_shipping/statuses/e5424e71d4dddc73c4897998628fab329a32c1e4","head":{"label":"optoro:OT-5613-intl-shipment-fedex-warning-msg","ref":"OT-5613-intl-shipment-fedex-warning-msg","sha":"e5424e71d4dddc73c4897998628fab329a32c1e4","user":{"login":"optoro","id":234510,"avatar_url":"https://avatars.githubusercontent.com/u/234510?v=3","gravatar_id":"","url":"https://api.github.com/users/optoro","html_url":"https://github.com/optoro","followers_url":"https://api.github.com/users/optoro/followers","following_url":"https://api.github.com/users/optoro/following{/other_user}","gists_url":"https://api.github.com/users/optoro/gists{/gist_id}","starred_url":"https://api.github.com/users/optoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optoro/subscriptions","organizations_url":"https://api.github.com/users/optoro/orgs","repos_url":"https://api.github.com/users/optoro/repos","events_url":"https://api.github.com/users/optoro/events{/privacy}","received_events_url":"https://api.github.com/users/optoro/received_events","type":"Organization","site_admin":false},"repo":{"id":2668058,"name":"active_shipping","full_name":"optoro/active_shipping","owner":{"login":"optoro","id":234510,"avatar_url":"https://avatars.githubusercontent.com/u/234510?v=3","gravatar_id":"","url":"https://api.github.com/users/optoro","html_url":"https://github.com/optoro","followers_url":"https://api.github.com/users/optoro/followers","following_url":"https://api.github.com/users/optoro/following{/other_user}","gists_url":"https://api.github.com/users/optoro/gists{/gist_id}","starred_url":"https://api.github.com/users/optoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optoro/subscriptions","organizations_url":"https://api.github.com/users/optoro/orgs","repos_url":"https://api.github.com/users/optoro/repos","events_url":"https://api.github.com/users/optoro/events{/privacy}","received_events_url":"https://api.github.com/users/optoro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/optoro/active_shipping","description":"Shipping API extension for Active Merchant.","fork":true,"url":"https://api.github.com/repos/optoro/active_shipping","forks_url":"https://api.github.com/repos/optoro/active_shipping/forks","keys_url":"https://api.github.com/repos/optoro/active_shipping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/optoro/active_shipping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/optoro/active_shipping/teams","hooks_url":"https://api.github.com/repos/optoro/active_shipping/hooks","issue_events_url":"https://api.github.com/repos/optoro/active_shipping/issues/events{/number}","events_url":"https://api.github.com/repos/optoro/active_shipping/events","assignees_url":"https://api.github.com/repos/optoro/active_shipping/assignees{/user}","branches_url":"https://api.github.com/repos/optoro/active_shipping/branches{/branch}","tags_url":"https://api.github.com/repos/optoro/active_shipping/tags","blobs_url":"https://api.github.com/repos/optoro/active_shipping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/optoro/active_shipping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/optoro/active_shipping/git/refs{/sha}","trees_url":"https://api.github.com/repos/optoro/active_shipping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/optoro/active_shipping/statuses/{sha}","languages_url":"https://api.github.com/repos/optoro/active_shipping/languages","stargazers_url":"https://api.github.com/repos/optoro/active_shipping/stargazers","contributors_url":"https://api.github.com/repos/optoro/active_shipping/contributors","subscribers_url":"https://api.github.com/repos/optoro/active_shipping/subscribers","subscription_url":"https://api.github.com/repos/optoro/active_shipping/subscription","commits_url":"https://api.github.com/repos/optoro/active_shipping/commits{/sha}","git_commits_url":"https://api.github.com/repos/optoro/active_shipping/git/commits{/sha}","comments_url":"https://api.github.com/repos/optoro/active_shipping/comments{/number}","issue_comment_url":"https://api.github.com/repos/optoro/active_shipping/issues/comments{/number}","contents_url":"https://api.github.com/repos/optoro/active_shipping/contents/{+path}","compare_url":"https://api.github.com/repos/optoro/active_shipping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/optoro/active_shipping/merges","archive_url":"https://api.github.com/repos/optoro/active_shipping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/optoro/active_shipping/downloads","issues_url":"https://api.github.com/repos/optoro/active_shipping/issues{/number}","pulls_url":"https://api.github.com/repos/optoro/active_shipping/pulls{/number}","milestones_url":"https://api.github.com/repos/optoro/active_shipping/milestones{/number}","notifications_url":"https://api.github.com/repos/optoro/active_shipping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/optoro/active_shipping/labels{/name}","releases_url":"https://api.github.com/repos/optoro/active_shipping/releases{/id}","created_at":"2011-10-28T21:29:56Z","updated_at":"2015-04-13T15:51:16Z","pushed_at":"2015-05-06T12:33:25Z","git_url":"git://github.com/optoro/active_shipping.git","ssh_url":"git@github.com:optoro/active_shipping.git","clone_url":"https://github.com/optoro/active_shipping.git","svn_url":"https://github.com/optoro/active_shipping","homepage":"","size":3443,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"optoro:master","ref":"master","sha":"e410fd1c38c4617e082754dd1b8bf7cce489673f","user":{"login":"optoro","id":234510,"avatar_url":"https://avatars.githubusercontent.com/u/234510?v=3","gravatar_id":"","url":"https://api.github.com/users/optoro","html_url":"https://github.com/optoro","followers_url":"https://api.github.com/users/optoro/followers","following_url":"https://api.github.com/users/optoro/following{/other_user}","gists_url":"https://api.github.com/users/optoro/gists{/gist_id}","starred_url":"https://api.github.com/users/optoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optoro/subscriptions","organizations_url":"https://api.github.com/users/optoro/orgs","repos_url":"https://api.github.com/users/optoro/repos","events_url":"https://api.github.com/users/optoro/events{/privacy}","received_events_url":"https://api.github.com/users/optoro/received_events","type":"Organization","site_admin":false},"repo":{"id":2668058,"name":"active_shipping","full_name":"optoro/active_shipping","owner":{"login":"optoro","id":234510,"avatar_url":"https://avatars.githubusercontent.com/u/234510?v=3","gravatar_id":"","url":"https://api.github.com/users/optoro","html_url":"https://github.com/optoro","followers_url":"https://api.github.com/users/optoro/followers","following_url":"https://api.github.com/users/optoro/following{/other_user}","gists_url":"https://api.github.com/users/optoro/gists{/gist_id}","starred_url":"https://api.github.com/users/optoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optoro/subscriptions","organizations_url":"https://api.github.com/users/optoro/orgs","repos_url":"https://api.github.com/users/optoro/repos","events_url":"https://api.github.com/users/optoro/events{/privacy}","received_events_url":"https://api.github.com/users/optoro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/optoro/active_shipping","description":"Shipping API extension for Active Merchant.","fork":true,"url":"https://api.github.com/repos/optoro/active_shipping","forks_url":"https://api.github.com/repos/optoro/active_shipping/forks","keys_url":"https://api.github.com/repos/optoro/active_shipping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/optoro/active_shipping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/optoro/active_shipping/teams","hooks_url":"https://api.github.com/repos/optoro/active_shipping/hooks","issue_events_url":"https://api.github.com/repos/optoro/active_shipping/issues/events{/number}","events_url":"https://api.github.com/repos/optoro/active_shipping/events","assignees_url":"https://api.github.com/repos/optoro/active_shipping/assignees{/user}","branches_url":"https://api.github.com/repos/optoro/active_shipping/branches{/branch}","tags_url":"https://api.github.com/repos/optoro/active_shipping/tags","blobs_url":"https://api.github.com/repos/optoro/active_shipping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/optoro/active_shipping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/optoro/active_shipping/git/refs{/sha}","trees_url":"https://api.github.com/repos/optoro/active_shipping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/optoro/active_shipping/statuses/{sha}","languages_url":"https://api.github.com/repos/optoro/active_shipping/languages","stargazers_url":"https://api.github.com/repos/optoro/active_shipping/stargazers","contributors_url":"https://api.github.com/repos/optoro/active_shipping/contributors","subscribers_url":"https://api.github.com/repos/optoro/active_shipping/subscribers","subscription_url":"https://api.github.com/repos/optoro/active_shipping/subscription","commits_url":"https://api.github.com/repos/optoro/active_shipping/commits{/sha}","git_commits_url":"https://api.github.com/repos/optoro/active_shipping/git/commits{/sha}","comments_url":"https://api.github.com/repos/optoro/active_shipping/comments{/number}","issue_comment_url":"https://api.github.com/repos/optoro/active_shipping/issues/comments{/number}","contents_url":"https://api.github.com/repos/optoro/active_shipping/contents/{+path}","compare_url":"https://api.github.com/repos/optoro/active_shipping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/optoro/active_shipping/merges","archive_url":"https://api.github.com/repos/optoro/active_shipping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/optoro/active_shipping/downloads","issues_url":"https://api.github.com/repos/optoro/active_shipping/issues{/number}","pulls_url":"https://api.github.com/repos/optoro/active_shipping/pulls{/number}","milestones_url":"https://api.github.com/repos/optoro/active_shipping/milestones{/number}","notifications_url":"https://api.github.com/repos/optoro/active_shipping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/optoro/active_shipping/labels{/name}","releases_url":"https://api.github.com/repos/optoro/active_shipping/releases{/id}","created_at":"2011-10-28T21:29:56Z","updated_at":"2015-04-13T15:51:16Z","pushed_at":"2015-05-06T12:33:25Z","git_url":"git://github.com/optoro/active_shipping.git","ssh_url":"git@github.com:optoro/active_shipping.git","clone_url":"https://github.com/optoro/active_shipping.git","svn_url":"https://github.com/optoro/active_shipping","homepage":"","size":3443,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/optoro/active_shipping/pulls/30"},"html":{"href":"https://github.com/optoro/active_shipping/pull/30"},"issue":{"href":"https://api.github.com/repos/optoro/active_shipping/issues/30"},"comments":{"href":"https://api.github.com/repos/optoro/active_shipping/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/optoro/active_shipping/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/optoro/active_shipping/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/optoro/active_shipping/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/optoro/active_shipping/statuses/e5424e71d4dddc73c4897998628fab329a32c1e4"}}}}