{"action":"created","comment":{"url":"https://api.github.com/repos/chirag7jain/bluedart/pulls/comments/244018888","pull_request_review_id":187924197,"id":244018888,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDAxODg4OA==","diff_hunk":"@@ -0,0 +1,60 @@\n+module Bluedart\n+  class Pickup < Base\n+    def initialize(details)\n+      @pickup_registration_request = pickup_registration_request_hash(details[:pickup_request])\n+      @profile = profile_hash({api_type: 'S', version: '1.3'}, details[:creds])\n+      @mode = details[:mode]\n+    end\n+\n+    def request_url\n+      if @mode == 'prod'\n+        'http://netconnect.bluedart.com/Ver1.8/ShippingAPI/Pickup/PickupRegistrationService.svc'\n+      else\n+        'http://netconnect.bluedart.com/Ver1.8/Demo/ShippingAPI/Pickup/PickupRegistrationService.svc'","path":"lib/bluedart/pickup.rb","position":13,"original_position":13,"commit_id":"49bdf6d0d6c426930a83e3a0d077df3c406f1f15","original_commit_id":"49bdf6d0d6c426930a83e3a0d077df3c406f1f15","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2018-12-26T16:32:55Z","updated_at":"2018-12-26T16:32:56Z","html_url":"https://github.com/chirag7jain/bluedart/pull/3#discussion_r244018888","pull_request_url":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/chirag7jain/bluedart/pulls/comments/244018888"},"html":{"href":"https://github.com/chirag7jain/bluedart/pull/3#discussion_r244018888"},"pull_request":{"href":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3","id":240984172,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwOTg0MTcy","html_url":"https://github.com/chirag7jain/bluedart/pull/3","diff_url":"https://github.com/chirag7jain/bluedart/pull/3.diff","patch_url":"https://github.com/chirag7jain/bluedart/pull/3.patch","issue_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/3","number":3,"state":"open","locked":false,"title":"Bluedart Pickup and Cancel Pickup requests","user":{"login":"vidyuthd","id":972067,"node_id":"MDQ6VXNlcjk3MjA2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/972067?v=4","gravatar_id":"","url":"https://api.github.com/users/vidyuthd","html_url":"https://github.com/vidyuthd","followers_url":"https://api.github.com/users/vidyuthd/followers","following_url":"https://api.github.com/users/vidyuthd/following{/other_user}","gists_url":"https://api.github.com/users/vidyuthd/gists{/gist_id}","starred_url":"https://api.github.com/users/vidyuthd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidyuthd/subscriptions","organizations_url":"https://api.github.com/users/vidyuthd/orgs","repos_url":"https://api.github.com/users/vidyuthd/repos","events_url":"https://api.github.com/users/vidyuthd/events{/privacy}","received_events_url":"https://api.github.com/users/vidyuthd/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-26T13:51:17Z","updated_at":"2018-12-26T16:32:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"153c819b5a50aee361c8e153e7b56ae9254a1a97","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3/commits","review_comments_url":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3/comments","review_comment_url":"https://api.github.com/repos/chirag7jain/bluedart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/3/comments","statuses_url":"https://api.github.com/repos/chirag7jain/bluedart/statuses/49bdf6d0d6c426930a83e3a0d077df3c406f1f15","head":{"label":"vidyuthd:vd/pickup-service","ref":"vd/pickup-service","sha":"49bdf6d0d6c426930a83e3a0d077df3c406f1f15","user":{"login":"vidyuthd","id":972067,"node_id":"MDQ6VXNlcjk3MjA2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/972067?v=4","gravatar_id":"","url":"https://api.github.com/users/vidyuthd","html_url":"https://github.com/vidyuthd","followers_url":"https://api.github.com/users/vidyuthd/followers","following_url":"https://api.github.com/users/vidyuthd/following{/other_user}","gists_url":"https://api.github.com/users/vidyuthd/gists{/gist_id}","starred_url":"https://api.github.com/users/vidyuthd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidyuthd/subscriptions","organizations_url":"https://api.github.com/users/vidyuthd/orgs","repos_url":"https://api.github.com/users/vidyuthd/repos","events_url":"https://api.github.com/users/vidyuthd/events{/privacy}","received_events_url":"https://api.github.com/users/vidyuthd/received_events","type":"User","site_admin":false},"repo":{"id":162959279,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI5NTkyNzk=","name":"bluedart","full_name":"vidyuthd/bluedart","private":false,"owner":{"login":"vidyuthd","id":972067,"node_id":"MDQ6VXNlcjk3MjA2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/972067?v=4","gravatar_id":"","url":"https://api.github.com/users/vidyuthd","html_url":"https://github.com/vidyuthd","followers_url":"https://api.github.com/users/vidyuthd/followers","following_url":"https://api.github.com/users/vidyuthd/following{/other_user}","gists_url":"https://api.github.com/users/vidyuthd/gists{/gist_id}","starred_url":"https://api.github.com/users/vidyuthd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidyuthd/subscriptions","organizations_url":"https://api.github.com/users/vidyuthd/orgs","repos_url":"https://api.github.com/users/vidyuthd/repos","events_url":"https://api.github.com/users/vidyuthd/events{/privacy}","received_events_url":"https://api.github.com/users/vidyuthd/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vidyuthd/bluedart","description":"Provides an interface to Bluedart Web Services","fork":true,"url":"https://api.github.com/repos/vidyuthd/bluedart","forks_url":"https://api.github.com/repos/vidyuthd/bluedart/forks","keys_url":"https://api.github.com/repos/vidyuthd/bluedart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vidyuthd/bluedart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vidyuthd/bluedart/teams","hooks_url":"https://api.github.com/repos/vidyuthd/bluedart/hooks","issue_events_url":"https://api.github.com/repos/vidyuthd/bluedart/issues/events{/number}","events_url":"https://api.github.com/repos/vidyuthd/bluedart/events","assignees_url":"https://api.github.com/repos/vidyuthd/bluedart/assignees{/user}","branches_url":"https://api.github.com/repos/vidyuthd/bluedart/branches{/branch}","tags_url":"https://api.github.com/repos/vidyuthd/bluedart/tags","blobs_url":"https://api.github.com/repos/vidyuthd/bluedart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vidyuthd/bluedart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vidyuthd/bluedart/git/refs{/sha}","trees_url":"https://api.github.com/repos/vidyuthd/bluedart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vidyuthd/bluedart/statuses/{sha}","languages_url":"https://api.github.com/repos/vidyuthd/bluedart/languages","stargazers_url":"https://api.github.com/repos/vidyuthd/bluedart/stargazers","contributors_url":"https://api.github.com/repos/vidyuthd/bluedart/contributors","subscribers_url":"https://api.github.com/repos/vidyuthd/bluedart/subscribers","subscription_url":"https://api.github.com/repos/vidyuthd/bluedart/subscription","commits_url":"https://api.github.com/repos/vidyuthd/bluedart/commits{/sha}","git_commits_url":"https://api.github.com/repos/vidyuthd/bluedart/git/commits{/sha}","comments_url":"https://api.github.com/repos/vidyuthd/bluedart/comments{/number}","issue_comment_url":"https://api.github.com/repos/vidyuthd/bluedart/issues/comments{/number}","contents_url":"https://api.github.com/repos/vidyuthd/bluedart/contents/{+path}","compare_url":"https://api.github.com/repos/vidyuthd/bluedart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vidyuthd/bluedart/merges","archive_url":"https://api.github.com/repos/vidyuthd/bluedart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vidyuthd/bluedart/downloads","issues_url":"https://api.github.com/repos/vidyuthd/bluedart/issues{/number}","pulls_url":"https://api.github.com/repos/vidyuthd/bluedart/pulls{/number}","milestones_url":"https://api.github.com/repos/vidyuthd/bluedart/milestones{/number}","notifications_url":"https://api.github.com/repos/vidyuthd/bluedart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vidyuthd/bluedart/labels{/name}","releases_url":"https://api.github.com/repos/vidyuthd/bluedart/releases{/id}","deployments_url":"https://api.github.com/repos/vidyuthd/bluedart/deployments","created_at":"2018-12-24T06:43:18Z","updated_at":"2018-12-26T13:50:43Z","pushed_at":"2018-12-26T16:32:42Z","git_url":"git://github.com/vidyuthd/bluedart.git","ssh_url":"git@github.com:vidyuthd/bluedart.git","clone_url":"https://github.com/vidyuthd/bluedart.git","svn_url":"https://github.com/vidyuthd/bluedart","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chirag7jain:master","ref":"master","sha":"5e494dd7ec9fa306322a5996bf3dced2edd884ff","user":{"login":"chirag7jain","id":3283141,"node_id":"MDQ6VXNlcjMyODMxNDE=","avatar_url":"https://avatars2.githubusercontent.com/u/3283141?v=4","gravatar_id":"","url":"https://api.github.com/users/chirag7jain","html_url":"https://github.com/chirag7jain","followers_url":"https://api.github.com/users/chirag7jain/followers","following_url":"https://api.github.com/users/chirag7jain/following{/other_user}","gists_url":"https://api.github.com/users/chirag7jain/gists{/gist_id}","starred_url":"https://api.github.com/users/chirag7jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirag7jain/subscriptions","organizations_url":"https://api.github.com/users/chirag7jain/orgs","repos_url":"https://api.github.com/users/chirag7jain/repos","events_url":"https://api.github.com/users/chirag7jain/events{/privacy}","received_events_url":"https://api.github.com/users/chirag7jain/received_events","type":"User","site_admin":false},"repo":{"id":35286900,"node_id":"MDEwOlJlcG9zaXRvcnkzNTI4NjkwMA==","name":"bluedart","full_name":"chirag7jain/bluedart","private":false,"owner":{"login":"chirag7jain","id":3283141,"node_id":"MDQ6VXNlcjMyODMxNDE=","avatar_url":"https://avatars2.githubusercontent.com/u/3283141?v=4","gravatar_id":"","url":"https://api.github.com/users/chirag7jain","html_url":"https://github.com/chirag7jain","followers_url":"https://api.github.com/users/chirag7jain/followers","following_url":"https://api.github.com/users/chirag7jain/following{/other_user}","gists_url":"https://api.github.com/users/chirag7jain/gists{/gist_id}","starred_url":"https://api.github.com/users/chirag7jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirag7jain/subscriptions","organizations_url":"https://api.github.com/users/chirag7jain/orgs","repos_url":"https://api.github.com/users/chirag7jain/repos","events_url":"https://api.github.com/users/chirag7jain/events{/privacy}","received_events_url":"https://api.github.com/users/chirag7jain/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chirag7jain/bluedart","description":"Provides an interface to Bluedart Web Services","fork":false,"url":"https://api.github.com/repos/chirag7jain/bluedart","forks_url":"https://api.github.com/repos/chirag7jain/bluedart/forks","keys_url":"https://api.github.com/repos/chirag7jain/bluedart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chirag7jain/bluedart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chirag7jain/bluedart/teams","hooks_url":"https://api.github.com/repos/chirag7jain/bluedart/hooks","issue_events_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/events{/number}","events_url":"https://api.github.com/repos/chirag7jain/bluedart/events","assignees_url":"https://api.github.com/repos/chirag7jain/bluedart/assignees{/user}","branches_url":"https://api.github.com/repos/chirag7jain/bluedart/branches{/branch}","tags_url":"https://api.github.com/repos/chirag7jain/bluedart/tags","blobs_url":"https://api.github.com/repos/chirag7jain/bluedart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chirag7jain/bluedart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chirag7jain/bluedart/git/refs{/sha}","trees_url":"https://api.github.com/repos/chirag7jain/bluedart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chirag7jain/bluedart/statuses/{sha}","languages_url":"https://api.github.com/repos/chirag7jain/bluedart/languages","stargazers_url":"https://api.github.com/repos/chirag7jain/bluedart/stargazers","contributors_url":"https://api.github.com/repos/chirag7jain/bluedart/contributors","subscribers_url":"https://api.github.com/repos/chirag7jain/bluedart/subscribers","subscription_url":"https://api.github.com/repos/chirag7jain/bluedart/subscription","commits_url":"https://api.github.com/repos/chirag7jain/bluedart/commits{/sha}","git_commits_url":"https://api.github.com/repos/chirag7jain/bluedart/git/commits{/sha}","comments_url":"https://api.github.com/repos/chirag7jain/bluedart/comments{/number}","issue_comment_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/comments{/number}","contents_url":"https://api.github.com/repos/chirag7jain/bluedart/contents/{+path}","compare_url":"https://api.github.com/repos/chirag7jain/bluedart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chirag7jain/bluedart/merges","archive_url":"https://api.github.com/repos/chirag7jain/bluedart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chirag7jain/bluedart/downloads","issues_url":"https://api.github.com/repos/chirag7jain/bluedart/issues{/number}","pulls_url":"https://api.github.com/repos/chirag7jain/bluedart/pulls{/number}","milestones_url":"https://api.github.com/repos/chirag7jain/bluedart/milestones{/number}","notifications_url":"https://api.github.com/repos/chirag7jain/bluedart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chirag7jain/bluedart/labels{/name}","releases_url":"https://api.github.com/repos/chirag7jain/bluedart/releases{/id}","deployments_url":"https://api.github.com/repos/chirag7jain/bluedart/deployments","created_at":"2015-05-08T15:29:03Z","updated_at":"2018-12-24T06:42:03Z","pushed_at":"2018-12-26T16:32:43Z","git_url":"git://github.com/chirag7jain/bluedart.git","ssh_url":"git@github.com:chirag7jain/bluedart.git","clone_url":"https://github.com/chirag7jain/bluedart.git","svn_url":"https://github.com/chirag7jain/bluedart","homepage":null,"size":24,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3"},"html":{"href":"https://github.com/chirag7jain/bluedart/pull/3"},"issue":{"href":"https://api.github.com/repos/chirag7jain/bluedart/issues/3"},"comments":{"href":"https://api.github.com/repos/chirag7jain/bluedart/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/chirag7jain/bluedart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chirag7jain/bluedart/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/chirag7jain/bluedart/statuses/49bdf6d0d6c426930a83e3a0d077df3c406f1f15"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}