{"action":"created","issue":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/594","repository_url":"https://api.github.com/repos/cerebris/jsonapi-resources","labels_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/594/comments","events_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/594/events","html_url":"https://github.com/cerebris/jsonapi-resources/issues/594","id":128205800,"node_id":"MDU6SXNzdWUxMjgyMDU4MDA=","number":594,"title":"Disable links","user":{"login":"greyblake","id":113512,"node_id":"MDQ6VXNlcjExMzUxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/113512?v=4","gravatar_id":"","url":"https://api.github.com/users/greyblake","html_url":"https://github.com/greyblake","followers_url":"https://api.github.com/users/greyblake/followers","following_url":"https://api.github.com/users/greyblake/following{/other_user}","gists_url":"https://api.github.com/users/greyblake/gists{/gist_id}","starred_url":"https://api.github.com/users/greyblake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greyblake/subscriptions","organizations_url":"https://api.github.com/users/greyblake/orgs","repos_url":"https://api.github.com/users/greyblake/repos","events_url":"https://api.github.com/users/greyblake/events{/privacy}","received_events_url":"https://api.github.com/users/greyblake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-01-22T17:37:15Z","updated_at":"2018-12-19T10:46:52Z","closed_at":null,"author_association":"NONE","body":"Hi! Thanks for the nice gem again.\n\nI've tried to figured it out myself, but failed. Is there a legal way to disable links to resources? E.g. configuration option?\n\nThanks!\n"},"comment":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/comments/448551169","html_url":"https://github.com/cerebris/jsonapi-resources/issues/594#issuecomment-448551169","issue_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/594","id":448551169,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODU1MTE2OQ==","user":{"login":"Shigawire","id":6542237,"node_id":"MDQ6VXNlcjY1NDIyMzc=","avatar_url":"https://avatars2.githubusercontent.com/u/6542237?v=4","gravatar_id":"","url":"https://api.github.com/users/Shigawire","html_url":"https://github.com/Shigawire","followers_url":"https://api.github.com/users/Shigawire/followers","following_url":"https://api.github.com/users/Shigawire/following{/other_user}","gists_url":"https://api.github.com/users/Shigawire/gists{/gist_id}","starred_url":"https://api.github.com/users/Shigawire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shigawire/subscriptions","organizations_url":"https://api.github.com/users/Shigawire/orgs","repos_url":"https://api.github.com/users/Shigawire/repos","events_url":"https://api.github.com/users/Shigawire/events{/privacy}","received_events_url":"https://api.github.com/users/Shigawire/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T10:46:52Z","updated_at":"2018-12-19T10:46:52Z","author_association":"NONE","body":"> I've been using this in a `Resource`:\r\n> \r\n> ```ruby\r\n> def custom_links(options)\r\n>   {self: nil}\r\n> end\r\n> ```\r\n\r\nDoes not work for me: `undefined method `[]' for nil:NilClass`.\r\n\r\nAre you using version 0.10?"}}
{"actor":{"display_login":"Shigawire"}}