{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/issues/100","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/issues/100/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/issues/100/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-common/pull/100","id":135596045,"number":100,"title":"Add method type to service template","user":{"login":"quartzmo","id":205445,"avatar_url":"https://avatars.githubusercontent.com/u/205445?v=3","gravatar_id":"","url":"https://api.github.com/users/quartzmo","html_url":"https://github.com/quartzmo","followers_url":"https://api.github.com/users/quartzmo/followers","following_url":"https://api.github.com/users/quartzmo/following{/other_user}","gists_url":"https://api.github.com/users/quartzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/quartzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quartzmo/subscriptions","organizations_url":"https://api.github.com/users/quartzmo/orgs","repos_url":"https://api.github.com/users/quartzmo/repos","events_url":"https://api.github.com/users/quartzmo/events{/privacy}","received_events_url":"https://api.github.com/users/quartzmo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/labels/cla:%20yes","name":"cla: yes","color":"009800"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/labels/don't%20merge","name":"don't merge","color":"e11d21"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/labels/site","name":"site","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"milestone":null,"comments":23,"created_at":"2016-02-23T01:12:42Z","updated_at":"2016-02-26T17:33:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/pulls/100","html_url":"https://github.com/GoogleCloudPlatform/gcloud-common/pull/100","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-common/pull/100.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-common/pull/100.patch"},"body":"This PR addresses the potential for name conflicts between instance and class methods in Ruby. We actually have a number of methods in the `Gcloud` module that share the same name, so this problem is not hypothetical. See #80 for discussion.\r\n\r\nPreviously, page anchors were broken for these methods. In the demo for this PR, navigation to the `bigquery` [instance method](http://quartzmo.github.io/gcloud-ruby/#/docs/master/gcloud?method=bigquery) and  [class method](http://quartzmo.github.io/gcloud-ruby/#/docs/master/gcloud?method=bigquery-type-class) now both work.\r\n\r\nI'm not really thrilled about the direction I took with this solution. I was hoping to introduce `type` as a parameter to the Services controller, but it would require more changes (to `DeeplinkService`, `customType`, etc)  than I was comfortable making without feedback/input. \r\n\r\n@callmehiphop I would be more than happy to throw away this PR if you can suggest or submit a better solution.\r\n\r\n/cc @blowmage @stephenplusplus\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/issues/comments/189384077","html_url":"https://github.com/GoogleCloudPlatform/gcloud-common/pull/100#issuecomment-189384077","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-common/issues/100","id":189384077,"user":{"login":"quartzmo","id":205445,"avatar_url":"https://avatars.githubusercontent.com/u/205445?v=3","gravatar_id":"","url":"https://api.github.com/users/quartzmo","html_url":"https://github.com/quartzmo","followers_url":"https://api.github.com/users/quartzmo/followers","following_url":"https://api.github.com/users/quartzmo/following{/other_user}","gists_url":"https://api.github.com/users/quartzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/quartzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quartzmo/subscriptions","organizations_url":"https://api.github.com/users/quartzmo/orgs","repos_url":"https://api.github.com/users/quartzmo/repos","events_url":"https://api.github.com/users/quartzmo/events{/privacy}","received_events_url":"https://api.github.com/users/quartzmo/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T17:33:37Z","updated_at":"2016-02-26T17:33:37Z","body":"I agree with @blowmage, I think it will be fine for each platform to choose its own ID conventions (as long as they work with angular, of course.)"}}