{"action":"created","comment":{"url":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/comments/46322992","id":46322992,"diff_hunk":"@@ -11,6 +13,17 @@ class << self\n       attr_accessor :sales_invoice_generate_error_handler\n       attr_accessor :sales_invoice_commit_error_handler\n       attr_accessor :sales_invoice_cancel_error_handler\n+\n+      def timeout\n+        (config = last) ? config.timeout : DEFAULT_TIMEOUT","path":"app/models/spree_avatax/config.rb","position":15,"original_position":15,"commit_id":"0f94bad7cc4c29d6ab3ffa00647b2d89de6c8bc8","original_commit_id":"0f94bad7cc4c29d6ab3ffa00647b2d89de6c8bc8","user":{"login":"magnusvk","id":704153,"avatar_url":"https://avatars.githubusercontent.com/u/704153?v=3","gravatar_id":"","url":"https://api.github.com/users/magnusvk","html_url":"https://github.com/magnusvk","followers_url":"https://api.github.com/users/magnusvk/followers","following_url":"https://api.github.com/users/magnusvk/following{/other_user}","gists_url":"https://api.github.com/users/magnusvk/gists{/gist_id}","starred_url":"https://api.github.com/users/magnusvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnusvk/subscriptions","organizations_url":"https://api.github.com/users/magnusvk/orgs","repos_url":"https://api.github.com/users/magnusvk/repos","events_url":"https://api.github.com/users/magnusvk/events{/privacy}","received_events_url":"https://api.github.com/users/magnusvk/received_events","type":"User","site_admin":false},"body":"It makes me just a tad uncomfortable to use `last` without an `order`. I know that this will order by id by default, but personally I'd love to be more explicit about this. Not a blocker, just a thought.","created_at":"2015-12-01T19:09:05Z","updated_at":"2015-12-01T19:09:05Z","html_url":"https://github.com/solidusio/solidus_avatax/pull/16#discussion_r46322992","pull_request_url":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/comments/46322992"},"html":{"href":"https://github.com/solidusio/solidus_avatax/pull/16#discussion_r46322992"},"pull_request":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16","id":52275780,"html_url":"https://github.com/solidusio/solidus_avatax/pull/16","diff_url":"https://github.com/solidusio/solidus_avatax/pull/16.diff","patch_url":"https://github.com/solidusio/solidus_avatax/pull/16.patch","issue_url":"https://api.github.com/repos/solidusio/solidus_avatax/issues/16","number":16,"state":"open","locked":false,"title":"Add timeouts and an enable/disable switch","user":{"login":"jordan-brough","id":23050,"avatar_url":"https://avatars.githubusercontent.com/u/23050?v=3","gravatar_id":"","url":"https://api.github.com/users/jordan-brough","html_url":"https://github.com/jordan-brough","followers_url":"https://api.github.com/users/jordan-brough/followers","following_url":"https://api.github.com/users/jordan-brough/following{/other_user}","gists_url":"https://api.github.com/users/jordan-brough/gists{/gist_id}","starred_url":"https://api.github.com/users/jordan-brough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordan-brough/subscriptions","organizations_url":"https://api.github.com/users/jordan-brough/orgs","repos_url":"https://api.github.com/users/jordan-brough/repos","events_url":"https://api.github.com/users/jordan-brough/events{/privacy}","received_events_url":"https://api.github.com/users/jordan-brough/received_events","type":"User","site_admin":false},"body":"PR for https://github.com/solidusio/solidus_avatax/issues/15.\r\n\r\ncc @magnusvk ","created_at":"2015-12-01T15:56:43Z","updated_at":"2015-12-01T19:09:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db919c2a76dbf18f87bc333d9c147e3568686de9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16/commits","review_comments_url":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16/comments","review_comment_url":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solidusio/solidus_avatax/issues/16/comments","statuses_url":"https://api.github.com/repos/solidusio/solidus_avatax/statuses/0f94bad7cc4c29d6ab3ffa00647b2d89de6c8bc8","head":{"label":"jordan-brough:add-timeouts-and-disable-switch","ref":"add-timeouts-and-disable-switch","sha":"0f94bad7cc4c29d6ab3ffa00647b2d89de6c8bc8","user":{"login":"jordan-brough","id":23050,"avatar_url":"https://avatars.githubusercontent.com/u/23050?v=3","gravatar_id":"","url":"https://api.github.com/users/jordan-brough","html_url":"https://github.com/jordan-brough","followers_url":"https://api.github.com/users/jordan-brough/followers","following_url":"https://api.github.com/users/jordan-brough/following{/other_user}","gists_url":"https://api.github.com/users/jordan-brough/gists{/gist_id}","starred_url":"https://api.github.com/users/jordan-brough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordan-brough/subscriptions","organizations_url":"https://api.github.com/users/jordan-brough/orgs","repos_url":"https://api.github.com/users/jordan-brough/repos","events_url":"https://api.github.com/users/jordan-brough/events{/privacy}","received_events_url":"https://api.github.com/users/jordan-brough/received_events","type":"User","site_admin":false},"repo":{"id":40263341,"name":"solidus_avatax","full_name":"jordan-brough/solidus_avatax","owner":{"login":"jordan-brough","id":23050,"avatar_url":"https://avatars.githubusercontent.com/u/23050?v=3","gravatar_id":"","url":"https://api.github.com/users/jordan-brough","html_url":"https://github.com/jordan-brough","followers_url":"https://api.github.com/users/jordan-brough/followers","following_url":"https://api.github.com/users/jordan-brough/following{/other_user}","gists_url":"https://api.github.com/users/jordan-brough/gists{/gist_id}","starred_url":"https://api.github.com/users/jordan-brough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordan-brough/subscriptions","organizations_url":"https://api.github.com/users/jordan-brough/orgs","repos_url":"https://api.github.com/users/jordan-brough/repos","events_url":"https://api.github.com/users/jordan-brough/events{/privacy}","received_events_url":"https://api.github.com/users/jordan-brough/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jordan-brough/solidus_avatax","description":"","fork":true,"url":"https://api.github.com/repos/jordan-brough/solidus_avatax","forks_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/forks","keys_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/teams","hooks_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/hooks","issue_events_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/issues/events{/number}","events_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/events","assignees_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/assignees{/user}","branches_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/branches{/branch}","tags_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/tags","blobs_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/git/refs{/sha}","trees_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/statuses/{sha}","languages_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/languages","stargazers_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/stargazers","contributors_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/contributors","subscribers_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/subscribers","subscription_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/subscription","commits_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/commits{/sha}","git_commits_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/git/commits{/sha}","comments_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/comments{/number}","issue_comment_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/issues/comments{/number}","contents_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/contents/{+path}","compare_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/merges","archive_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/downloads","issues_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/issues{/number}","pulls_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/pulls{/number}","milestones_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/milestones{/number}","notifications_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/labels{/name}","releases_url":"https://api.github.com/repos/jordan-brough/solidus_avatax/releases{/id}","created_at":"2015-08-05T18:54:06Z","updated_at":"2015-08-05T18:54:06Z","pushed_at":"2015-12-01T15:58:44Z","git_url":"git://github.com/jordan-brough/solidus_avatax.git","ssh_url":"git@github.com:jordan-brough/solidus_avatax.git","clone_url":"https://github.com/jordan-brough/solidus_avatax.git","svn_url":"https://github.com/jordan-brough/solidus_avatax","homepage":null,"size":234,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"solidusio:master","ref":"master","sha":"59df5a51add853c97b3145f91838a747bea899a2","user":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"repo":{"id":37614576,"name":"solidus_avatax","full_name":"solidusio/solidus_avatax","owner":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solidusio/solidus_avatax","description":"Avatax integration with Solidus","fork":false,"url":"https://api.github.com/repos/solidusio/solidus_avatax","forks_url":"https://api.github.com/repos/solidusio/solidus_avatax/forks","keys_url":"https://api.github.com/repos/solidusio/solidus_avatax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solidusio/solidus_avatax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solidusio/solidus_avatax/teams","hooks_url":"https://api.github.com/repos/solidusio/solidus_avatax/hooks","issue_events_url":"https://api.github.com/repos/solidusio/solidus_avatax/issues/events{/number}","events_url":"https://api.github.com/repos/solidusio/solidus_avatax/events","assignees_url":"https://api.github.com/repos/solidusio/solidus_avatax/assignees{/user}","branches_url":"https://api.github.com/repos/solidusio/solidus_avatax/branches{/branch}","tags_url":"https://api.github.com/repos/solidusio/solidus_avatax/tags","blobs_url":"https://api.github.com/repos/solidusio/solidus_avatax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solidusio/solidus_avatax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solidusio/solidus_avatax/git/refs{/sha}","trees_url":"https://api.github.com/repos/solidusio/solidus_avatax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solidusio/solidus_avatax/statuses/{sha}","languages_url":"https://api.github.com/repos/solidusio/solidus_avatax/languages","stargazers_url":"https://api.github.com/repos/solidusio/solidus_avatax/stargazers","contributors_url":"https://api.github.com/repos/solidusio/solidus_avatax/contributors","subscribers_url":"https://api.github.com/repos/solidusio/solidus_avatax/subscribers","subscription_url":"https://api.github.com/repos/solidusio/solidus_avatax/subscription","commits_url":"https://api.github.com/repos/solidusio/solidus_avatax/commits{/sha}","git_commits_url":"https://api.github.com/repos/solidusio/solidus_avatax/git/commits{/sha}","comments_url":"https://api.github.com/repos/solidusio/solidus_avatax/comments{/number}","issue_comment_url":"https://api.github.com/repos/solidusio/solidus_avatax/issues/comments{/number}","contents_url":"https://api.github.com/repos/solidusio/solidus_avatax/contents/{+path}","compare_url":"https://api.github.com/repos/solidusio/solidus_avatax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solidusio/solidus_avatax/merges","archive_url":"https://api.github.com/repos/solidusio/solidus_avatax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solidusio/solidus_avatax/downloads","issues_url":"https://api.github.com/repos/solidusio/solidus_avatax/issues{/number}","pulls_url":"https://api.github.com/repos/solidusio/solidus_avatax/pulls{/number}","milestones_url":"https://api.github.com/repos/solidusio/solidus_avatax/milestones{/number}","notifications_url":"https://api.github.com/repos/solidusio/solidus_avatax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solidusio/solidus_avatax/labels{/name}","releases_url":"https://api.github.com/repos/solidusio/solidus_avatax/releases{/id}","created_at":"2015-06-17T18:54:26Z","updated_at":"2015-09-04T03:05:47Z","pushed_at":"2015-12-01T15:58:45Z","git_url":"git://github.com/solidusio/solidus_avatax.git","ssh_url":"git@github.com:solidusio/solidus_avatax.git","clone_url":"https://github.com/solidusio/solidus_avatax.git","svn_url":"https://github.com/solidusio/solidus_avatax","homepage":"","size":222,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16"},"html":{"href":"https://github.com/solidusio/solidus_avatax/pull/16"},"issue":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/issues/16"},"comments":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/solidusio/solidus_avatax/statuses/0f94bad7cc4c29d6ab3ffa00647b2d89de6c8bc8"}}}}