{"action":"created","comment":{"url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/comments/55395329","id":55395329,"diff_hunk":"@@ -0,0 +1,122 @@\n+module Spree\n+  class Order < Spree::Base\n+    module SingleStepCheckout\n+\n+        # Checkout module code is reused wherever necessary and overriden code related to state machine in checkout module for","path":"app/models/spree/order/single_step_checkout.rb","position":5,"original_position":5,"commit_id":"00d1a352bcaa0bf52759dd2959ef822a60643903","original_commit_id":"00d1a352bcaa0bf52759dd2959ef822a60643903","user":{"login":"siddharth28","id":6944204,"avatar_url":"https://avatars.githubusercontent.com/u/6944204?v=3","gravatar_id":"","url":"https://api.github.com/users/siddharth28","html_url":"https://github.com/siddharth28","followers_url":"https://api.github.com/users/siddharth28/followers","following_url":"https://api.github.com/users/siddharth28/following{/other_user}","gists_url":"https://api.github.com/users/siddharth28/gists{/gist_id}","starred_url":"https://api.github.com/users/siddharth28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddharth28/subscriptions","organizations_url":"https://api.github.com/users/siddharth28/orgs","repos_url":"https://api.github.com/users/siddharth28/repos","events_url":"https://api.github.com/users/siddharth28/events{/privacy}","received_events_url":"https://api.github.com/users/siddharth28/received_events","type":"User","site_admin":false},"body":"@praveendhawan why are we not overriding the code of `Spree::Order::Checkout` in the same module.\r\n\r\nAlso shouldn't we create a concern for this.\r\n","created_at":"2016-03-08T17:36:25Z","updated_at":"2016-03-08T17:36:25Z","html_url":"https://github.com/praveendhawan/spree_one_step_checkout/pull/1#discussion_r55395329","pull_request_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/comments/55395329"},"html":{"href":"https://github.com/praveendhawan/spree_one_step_checkout/pull/1#discussion_r55395329"},"pull_request":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1","id":61234007,"html_url":"https://github.com/praveendhawan/spree_one_step_checkout/pull/1","diff_url":"https://github.com/praveendhawan/spree_one_step_checkout/pull/1.diff","patch_url":"https://github.com/praveendhawan/spree_one_step_checkout/pull/1.patch","issue_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/1","number":1,"state":"open","locked":false,"title":"done One Step Checkout for order","user":{"login":"praveendhawan","id":12948906,"avatar_url":"https://avatars.githubusercontent.com/u/12948906?v=3","gravatar_id":"","url":"https://api.github.com/users/praveendhawan","html_url":"https://github.com/praveendhawan","followers_url":"https://api.github.com/users/praveendhawan/followers","following_url":"https://api.github.com/users/praveendhawan/following{/other_user}","gists_url":"https://api.github.com/users/praveendhawan/gists{/gist_id}","starred_url":"https://api.github.com/users/praveendhawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveendhawan/subscriptions","organizations_url":"https://api.github.com/users/praveendhawan/orgs","repos_url":"https://api.github.com/users/praveendhawan/repos","events_url":"https://api.github.com/users/praveendhawan/events{/privacy}","received_events_url":"https://api.github.com/users/praveendhawan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-01T12:20:00Z","updated_at":"2016-03-08T17:36:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c5c279e3d7a31abdcab6d6e9e1029edd3a1e8bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1/commits","review_comments_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1/comments","review_comment_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/1/comments","statuses_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/statuses/00d1a352bcaa0bf52759dd2959ef822a60643903","head":{"label":"praveendhawan:one_step_checkout","ref":"one_step_checkout","sha":"00d1a352bcaa0bf52759dd2959ef822a60643903","user":{"login":"praveendhawan","id":12948906,"avatar_url":"https://avatars.githubusercontent.com/u/12948906?v=3","gravatar_id":"","url":"https://api.github.com/users/praveendhawan","html_url":"https://github.com/praveendhawan","followers_url":"https://api.github.com/users/praveendhawan/followers","following_url":"https://api.github.com/users/praveendhawan/following{/other_user}","gists_url":"https://api.github.com/users/praveendhawan/gists{/gist_id}","starred_url":"https://api.github.com/users/praveendhawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveendhawan/subscriptions","organizations_url":"https://api.github.com/users/praveendhawan/orgs","repos_url":"https://api.github.com/users/praveendhawan/repos","events_url":"https://api.github.com/users/praveendhawan/events{/privacy}","received_events_url":"https://api.github.com/users/praveendhawan/received_events","type":"User","site_admin":false},"repo":{"id":52873988,"name":"spree_one_step_checkout","full_name":"praveendhawan/spree_one_step_checkout","owner":{"login":"praveendhawan","id":12948906,"avatar_url":"https://avatars.githubusercontent.com/u/12948906?v=3","gravatar_id":"","url":"https://api.github.com/users/praveendhawan","html_url":"https://github.com/praveendhawan","followers_url":"https://api.github.com/users/praveendhawan/followers","following_url":"https://api.github.com/users/praveendhawan/following{/other_user}","gists_url":"https://api.github.com/users/praveendhawan/gists{/gist_id}","starred_url":"https://api.github.com/users/praveendhawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveendhawan/subscriptions","organizations_url":"https://api.github.com/users/praveendhawan/orgs","repos_url":"https://api.github.com/users/praveendhawan/repos","events_url":"https://api.github.com/users/praveendhawan/events{/privacy}","received_events_url":"https://api.github.com/users/praveendhawan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/praveendhawan/spree_one_step_checkout","description":"","fork":false,"url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout","forks_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/forks","keys_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/teams","hooks_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/hooks","issue_events_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/events{/number}","events_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/events","assignees_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/assignees{/user}","branches_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/branches{/branch}","tags_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/tags","blobs_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/refs{/sha}","trees_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/statuses/{sha}","languages_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/languages","stargazers_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/stargazers","contributors_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/contributors","subscribers_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/subscribers","subscription_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/subscription","commits_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/commits{/sha}","git_commits_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/commits{/sha}","comments_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/comments{/number}","issue_comment_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/comments{/number}","contents_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/contents/{+path}","compare_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/merges","archive_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/downloads","issues_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues{/number}","pulls_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls{/number}","milestones_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/milestones{/number}","notifications_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/labels{/name}","releases_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/releases{/id}","deployments_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/deployments","created_at":"2016-03-01T12:09:10Z","updated_at":"2016-03-01T12:13:30Z","pushed_at":"2016-03-08T10:17:37Z","git_url":"git://github.com/praveendhawan/spree_one_step_checkout.git","ssh_url":"git@github.com:praveendhawan/spree_one_step_checkout.git","clone_url":"https://github.com/praveendhawan/spree_one_step_checkout.git","svn_url":"https://github.com/praveendhawan/spree_one_step_checkout","homepage":null,"size":2543,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"praveendhawan:master","ref":"master","sha":"1196f085ebdbd80a32e4a47a26771b817a4eebe9","user":{"login":"praveendhawan","id":12948906,"avatar_url":"https://avatars.githubusercontent.com/u/12948906?v=3","gravatar_id":"","url":"https://api.github.com/users/praveendhawan","html_url":"https://github.com/praveendhawan","followers_url":"https://api.github.com/users/praveendhawan/followers","following_url":"https://api.github.com/users/praveendhawan/following{/other_user}","gists_url":"https://api.github.com/users/praveendhawan/gists{/gist_id}","starred_url":"https://api.github.com/users/praveendhawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveendhawan/subscriptions","organizations_url":"https://api.github.com/users/praveendhawan/orgs","repos_url":"https://api.github.com/users/praveendhawan/repos","events_url":"https://api.github.com/users/praveendhawan/events{/privacy}","received_events_url":"https://api.github.com/users/praveendhawan/received_events","type":"User","site_admin":false},"repo":{"id":52873988,"name":"spree_one_step_checkout","full_name":"praveendhawan/spree_one_step_checkout","owner":{"login":"praveendhawan","id":12948906,"avatar_url":"https://avatars.githubusercontent.com/u/12948906?v=3","gravatar_id":"","url":"https://api.github.com/users/praveendhawan","html_url":"https://github.com/praveendhawan","followers_url":"https://api.github.com/users/praveendhawan/followers","following_url":"https://api.github.com/users/praveendhawan/following{/other_user}","gists_url":"https://api.github.com/users/praveendhawan/gists{/gist_id}","starred_url":"https://api.github.com/users/praveendhawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveendhawan/subscriptions","organizations_url":"https://api.github.com/users/praveendhawan/orgs","repos_url":"https://api.github.com/users/praveendhawan/repos","events_url":"https://api.github.com/users/praveendhawan/events{/privacy}","received_events_url":"https://api.github.com/users/praveendhawan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/praveendhawan/spree_one_step_checkout","description":"","fork":false,"url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout","forks_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/forks","keys_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/teams","hooks_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/hooks","issue_events_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/events{/number}","events_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/events","assignees_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/assignees{/user}","branches_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/branches{/branch}","tags_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/tags","blobs_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/refs{/sha}","trees_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/statuses/{sha}","languages_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/languages","stargazers_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/stargazers","contributors_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/contributors","subscribers_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/subscribers","subscription_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/subscription","commits_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/commits{/sha}","git_commits_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/git/commits{/sha}","comments_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/comments{/number}","issue_comment_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/comments{/number}","contents_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/contents/{+path}","compare_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/merges","archive_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/downloads","issues_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues{/number}","pulls_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls{/number}","milestones_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/milestones{/number}","notifications_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/labels{/name}","releases_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/releases{/id}","deployments_url":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/deployments","created_at":"2016-03-01T12:09:10Z","updated_at":"2016-03-01T12:13:30Z","pushed_at":"2016-03-08T10:17:37Z","git_url":"git://github.com/praveendhawan/spree_one_step_checkout.git","ssh_url":"git@github.com:praveendhawan/spree_one_step_checkout.git","clone_url":"https://github.com/praveendhawan/spree_one_step_checkout.git","svn_url":"https://github.com/praveendhawan/spree_one_step_checkout","homepage":null,"size":2543,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1"},"html":{"href":"https://github.com/praveendhawan/spree_one_step_checkout/pull/1"},"issue":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/1"},"comments":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/praveendhawan/spree_one_step_checkout/statuses/00d1a352bcaa0bf52759dd2959ef822a60643903"}}}}