{"action":"created","issue":{"url":"https://api.github.com/repos/Kandiie/pushbots/issues/6","repository_url":"https://api.github.com/repos/Kandiie/pushbots","labels_url":"https://api.github.com/repos/Kandiie/pushbots/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Kandiie/pushbots/issues/6/comments","events_url":"https://api.github.com/repos/Kandiie/pushbots/issues/6/events","html_url":"https://github.com/Kandiie/pushbots/issues/6","id":162317794,"number":6,"title":"Pushing a Notification Error","user":{"login":"harshamv","id":249592,"avatar_url":"https://avatars.githubusercontent.com/u/249592?v=3","gravatar_id":"","url":"https://api.github.com/users/harshamv","html_url":"https://github.com/harshamv","followers_url":"https://api.github.com/users/harshamv/followers","following_url":"https://api.github.com/users/harshamv/following{/other_user}","gists_url":"https://api.github.com/users/harshamv/gists{/gist_id}","starred_url":"https://api.github.com/users/harshamv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshamv/subscriptions","organizations_url":"https://api.github.com/users/harshamv/orgs","repos_url":"https://api.github.com/users/harshamv/repos","events_url":"https://api.github.com/users/harshamv/events{/privacy}","received_events_url":"https://api.github.com/users/harshamv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-26T08:20:09Z","updated_at":"2016-06-26T17:50:29Z","closed_at":null,"body":"I have the following error \r\n```\r\nNameError at /\r\n\r\nuninitialized constant Brands::DashboardController::PushBots\r\n```\r\n\r\nMy Code\r\n```\r\nPushbots.configure do |config|\r\n      config.application_id = '576f85c0asdasdas4a9efae0348b456a'\r\n      config.application_secret = '8cd428csadasdasdas4b8053b6c9ff7868694a72160'\r\n    end\r\n\r\n    push = PushBots::One.new(:android, \"9495851398\", \"Hi I am Renil\", \"true\")\r\n    push.send # Delivers the notification\r\n```"},"comment":{"url":"https://api.github.com/repos/Kandiie/pushbots/issues/comments/228613257","html_url":"https://github.com/Kandiie/pushbots/issues/6#issuecomment-228613257","issue_url":"https://api.github.com/repos/Kandiie/pushbots/issues/6","id":228613257,"user":{"login":"cesarrdz","id":2662593,"avatar_url":"https://avatars.githubusercontent.com/u/2662593?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarrdz","html_url":"https://github.com/cesarrdz","followers_url":"https://api.github.com/users/cesarrdz/followers","following_url":"https://api.github.com/users/cesarrdz/following{/other_user}","gists_url":"https://api.github.com/users/cesarrdz/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarrdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarrdz/subscriptions","organizations_url":"https://api.github.com/users/cesarrdz/orgs","repos_url":"https://api.github.com/users/cesarrdz/repos","events_url":"https://api.github.com/users/cesarrdz/events{/privacy}","received_events_url":"https://api.github.com/users/cesarrdz/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T17:50:29Z","updated_at":"2016-06-26T17:50:29Z","body":"Hello harshamv.\r\n\r\nIt looks like rails is looking for Pushbots at Brands::DashboardController, have you tried requiring the gem in your file or checking your config files?\r\n\r\nCan you tell me a little bit more about your project structure or can we look at your projects code to replicate this error?\r\n\r\n"}}
{"actor":{"display_login":"cesarrdz"}}