{"action":"created","issue":{"url":"https://api.github.com/repos/eljojo/telegram_bot/issues/44","repository_url":"https://api.github.com/repos/eljojo/telegram_bot","labels_url":"https://api.github.com/repos/eljojo/telegram_bot/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/eljojo/telegram_bot/issues/44/comments","events_url":"https://api.github.com/repos/eljojo/telegram_bot/issues/44/events","html_url":"https://github.com/eljojo/telegram_bot/issues/44","id":343383674,"node_id":"MDU6SXNzdWUzNDMzODM2NzQ=","number":44,"title":"uninitialized constant TelegramBot::ApiResponse::ResponseError","user":{"login":"vpereira","id":37418,"node_id":"MDQ6VXNlcjM3NDE4","avatar_url":"https://avatars1.githubusercontent.com/u/37418?v=4","gravatar_id":"","url":"https://api.github.com/users/vpereira","html_url":"https://github.com/vpereira","followers_url":"https://api.github.com/users/vpereira/followers","following_url":"https://api.github.com/users/vpereira/following{/other_user}","gists_url":"https://api.github.com/users/vpereira/gists{/gist_id}","starred_url":"https://api.github.com/users/vpereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpereira/subscriptions","organizations_url":"https://api.github.com/users/vpereira/orgs","repos_url":"https://api.github.com/users/vpereira/repos","events_url":"https://api.github.com/users/vpereira/events{/privacy}","received_events_url":"https://api.github.com/users/vpereira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-22T07:14:42Z","updated_at":"2018-07-24T05:05:54Z","closed_at":null,"author_association":"NONE","body":"tried to access with\r\n\r\n```\r\nbot = TelegramBot.new token: MY_TOKEN\r\nbot.get_updates(fail_silently: true)\r\n```\r\n\r\nand the traceback looks like:\r\n\r\n```\r\nTraceback (most recent call last):\r\n        8: from /home/vpereira/.rvm/rubies/ruby-2.5.0/bin/irb:11:in `<main>'\r\n        7: from (irb):5\r\n        6: from /home/vpereira/.rvm/gems/ruby-2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:29:in `get_updates'\r\n        5: from /home/vpereira/.rvm/gems/ruby-2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:83:in `get_last_messages'\r\n        4: from /home/vpereira/.rvm/gems/ruby-2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:72:in `get_last_updates'\r\n        3: from /home/vpereira/.rvm/gems/ruby-2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:68:in `request'\r\n        2: from /home/vpereira/.rvm/gems/ruby-2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:68:in `new'\r\n        1: from /home/vpereira/.rvm/gems/ruby-2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/api_response.rb:13:in `initialize'\r\nNameError (uninitialized constant TelegramBot::ApiResponse::ResponseError)\r\n```\r\n\r\ngem installed:\r\n\r\n```telegram_bot (0.0.8)```"},"comment":{"url":"https://api.github.com/repos/eljojo/telegram_bot/issues/comments/407282436","html_url":"https://github.com/eljojo/telegram_bot/issues/44#issuecomment-407282436","issue_url":"https://api.github.com/repos/eljojo/telegram_bot/issues/44","id":407282436,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzI4MjQzNg==","user":{"login":"eljojo","id":491230,"node_id":"MDQ6VXNlcjQ5MTIzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/491230?v=4","gravatar_id":"","url":"https://api.github.com/users/eljojo","html_url":"https://github.com/eljojo","followers_url":"https://api.github.com/users/eljojo/followers","following_url":"https://api.github.com/users/eljojo/following{/other_user}","gists_url":"https://api.github.com/users/eljojo/gists{/gist_id}","starred_url":"https://api.github.com/users/eljojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eljojo/subscriptions","organizations_url":"https://api.github.com/users/eljojo/orgs","repos_url":"https://api.github.com/users/eljojo/repos","events_url":"https://api.github.com/users/eljojo/events{/privacy}","received_events_url":"https://api.github.com/users/eljojo/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T05:05:54Z","updated_at":"2018-07-24T05:05:54Z","author_association":"OWNER","body":"@edikbekir I don't think that was stupid. I really wish to understand what's making this fail, though.\r\n\r\nIf someone wants to open-up a PR that fixes the problem I'd be happy to merge it, moving `ResponseError` inside `ApiResponse` is a valid alternative as well."}}
{"actor":{"display_login":"eljojo"}}