{"action":"created","issue":{"url":"https://api.github.com/repos/andela/bp-andela-media/issues/2","repository_url":"https://api.github.com/repos/andela/bp-andela-media","labels_url":"https://api.github.com/repos/andela/bp-andela-media/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/andela/bp-andela-media/issues/2/comments","events_url":"https://api.github.com/repos/andela/bp-andela-media/issues/2/events","html_url":"https://github.com/andela/bp-andela-media/pull/2","id":378187508,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4OTUwOTI2","number":2,"title":"Replace figaro with rails credentials","user":{"login":"chalchuck","id":4069319,"node_id":"MDQ6VXNlcjQwNjkzMTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4069319?v=4","gravatar_id":"","url":"https://api.github.com/users/chalchuck","html_url":"https://github.com/chalchuck","followers_url":"https://api.github.com/users/chalchuck/followers","following_url":"https://api.github.com/users/chalchuck/following{/other_user}","gists_url":"https://api.github.com/users/chalchuck/gists{/gist_id}","starred_url":"https://api.github.com/users/chalchuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chalchuck/subscriptions","organizations_url":"https://api.github.com/users/chalchuck/orgs","repos_url":"https://api.github.com/users/chalchuck/repos","events_url":"https://api.github.com/users/chalchuck/events{/privacy}","received_events_url":"https://api.github.com/users/chalchuck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-07T08:31:10Z","updated_at":"2018-11-07T11:50:12Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/andela/bp-andela-media/pulls/2","html_url":"https://github.com/andela/bp-andela-media/pull/2","diff_url":"https://github.com/andela/bp-andela-media/pull/2.diff","patch_url":"https://github.com/andela/bp-andela-media/pull/2.patch"},"body":"#### What does this PR do?\r\n\r\nReplace the figaro gem with Rails Credentials (Default in Rails)\r\n\r\n#### Description of Task to be completed\r\n\r\nTo use an ENV variable,\r\nmake a call to `Rails.application.credentials.env_variable_name` instead of `ENV['env_variable_name']`\r\n\r\nIf you need to add extra variables; \r\n\r\nfor production environment, \r\nensure you have the correct master.key @kevinsamoei please add the key to the Slack channel\r\nrun `bin/rails credentials:edit` from your terminal, edit using YAML syntax and Ctl+X to save and exit\r\n\r\nfor development/staging/test,\r\nopen %{test development staging}.yml and the credential.\r\n\r\nPS: all credentials are defined and accessed using lower case alphanumerics"},"comment":{"url":"https://api.github.com/repos/andela/bp-andela-media/issues/comments/436598619","html_url":"https://github.com/andela/bp-andela-media/pull/2#issuecomment-436598619","issue_url":"https://api.github.com/repos/andela/bp-andela-media/issues/2","id":436598619,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjU5ODYxOQ==","user":{"login":"chalchuck","id":4069319,"node_id":"MDQ6VXNlcjQwNjkzMTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4069319?v=4","gravatar_id":"","url":"https://api.github.com/users/chalchuck","html_url":"https://github.com/chalchuck","followers_url":"https://api.github.com/users/chalchuck/followers","following_url":"https://api.github.com/users/chalchuck/following{/other_user}","gists_url":"https://api.github.com/users/chalchuck/gists{/gist_id}","starred_url":"https://api.github.com/users/chalchuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chalchuck/subscriptions","organizations_url":"https://api.github.com/users/chalchuck/orgs","repos_url":"https://api.github.com/users/chalchuck/repos","events_url":"https://api.github.com/users/chalchuck/events{/privacy}","received_events_url":"https://api.github.com/users/chalchuck/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T11:50:12Z","updated_at":"2018-11-07T11:50:12Z","author_association":"COLLABORATOR","body":"@gr1d99 I have removed the references to `ActionCable`"}}
{"actor":{"display_login":"chalchuck"}}