{"action":"created","issue":{"url":"https://api.github.com/repos/teamsnap/teamsnap_rb/issues/78","repository_url":"https://api.github.com/repos/teamsnap/teamsnap_rb","labels_url":"https://api.github.com/repos/teamsnap/teamsnap_rb/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/teamsnap/teamsnap_rb/issues/78/comments","events_url":"https://api.github.com/repos/teamsnap/teamsnap_rb/issues/78/events","html_url":"https://github.com/teamsnap/teamsnap_rb/issues/78","id":159983834,"number":78,"title":"Undefined method 'root_client'","user":{"login":"andrewmpierce","id":11707173,"avatar_url":"https://avatars.githubusercontent.com/u/11707173?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmpierce","html_url":"https://github.com/andrewmpierce","followers_url":"https://api.github.com/users/andrewmpierce/followers","following_url":"https://api.github.com/users/andrewmpierce/following{/other_user}","gists_url":"https://api.github.com/users/andrewmpierce/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmpierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmpierce/subscriptions","organizations_url":"https://api.github.com/users/andrewmpierce/orgs","repos_url":"https://api.github.com/users/andrewmpierce/repos","events_url":"https://api.github.com/users/andrewmpierce/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmpierce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-13T15:52:46Z","updated_at":"2016-06-29T17:22:13Z","closed_at":null,"body":"![teamsnap_issue](https://cloud.githubusercontent.com/assets/11707173/16013474/8de34976-315b-11e6-8b50-c4fcfc7be5ce.png)\r\n\r\nI am having trouble getting a client connection through your gem. As you can see, when I run `TeamSnap.init` it appears to be successful, however when I then follow that with `TeamSnap.root_client` it doesn't work. Although `TeamSnap.init` is returning true I'm wondering if maybe it is not actually creating a connection to the API. \r\n\r\nI also noticed that [when `root_client is created](https://github.com/teamsnap/teamsnap_rb/blob/master/lib/teamsnap.rb#L35) it appears to use the token to create the new client connection, and doesn't appear to be using the client_id and client_secret anywhere. Looking at your documentation I would think that a token was optional, however it appears to be required to create a successful client connection. Am I missing something?"},"comment":{"url":"https://api.github.com/repos/teamsnap/teamsnap_rb/issues/comments/229426640","html_url":"https://github.com/teamsnap/teamsnap_rb/issues/78#issuecomment-229426640","issue_url":"https://api.github.com/repos/teamsnap/teamsnap_rb/issues/78","id":229426640,"user":{"login":"malexanders","id":16038346,"avatar_url":"https://avatars.githubusercontent.com/u/16038346?v=3","gravatar_id":"","url":"https://api.github.com/users/malexanders","html_url":"https://github.com/malexanders","followers_url":"https://api.github.com/users/malexanders/followers","following_url":"https://api.github.com/users/malexanders/following{/other_user}","gists_url":"https://api.github.com/users/malexanders/gists{/gist_id}","starred_url":"https://api.github.com/users/malexanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malexanders/subscriptions","organizations_url":"https://api.github.com/users/malexanders/orgs","repos_url":"https://api.github.com/users/malexanders/repos","events_url":"https://api.github.com/users/malexanders/events{/privacy}","received_events_url":"https://api.github.com/users/malexanders/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T17:22:12Z","updated_at":"2016-06-29T17:22:12Z","body":"My Issue was related an older version of the teamsnap_rb gem. I updated to 2.0.0.beta7 and #root_client became available.\n\nBest Regards,\nMatthew Alexander Smith\n\n\n\n\n\n> On Jun 29, 2016, at 1:20 PM, Ryan Williams <notifications@github.com> wrote:\n> \n> @andrewmpierce <https://github.com/andrewmpierce> @malexanders <https://github.com/malexanders> I just updated the readme. It should be init with an auth token. Can you try with an auth token and see if that solves the problem? Let me know if you need help getting an auth token, it is described on the dev site <http://developer.teamsnap.com/documentation/apiv3/authorization/>.\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub <https://github.com/teamsnap/teamsnap_rb/issues/78#issuecomment-229426230>, or mute the thread <https://github.com/notifications/unsubscribe/APS5yvFdAYFHH3OERILyT10nTUeedeOyks5qQqlzgaJpZM4I0eK9>.\n> \n\n"}}
{"actor":{"display_login":"malexanders"}}