{"action":"created","issue":{"url":"https://api.github.com/repos/czechboy0/Environment/issues/3","repository_url":"https://api.github.com/repos/czechboy0/Environment","labels_url":"https://api.github.com/repos/czechboy0/Environment/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/czechboy0/Environment/issues/3/comments","events_url":"https://api.github.com/repos/czechboy0/Environment/issues/3/events","html_url":"https://github.com/czechboy0/Environment/issues/3","id":160792130,"number":3,"title":"API is a little bit unclear","user":{"login":"Danappelxx","id":3291251,"avatar_url":"https://avatars.githubusercontent.com/u/3291251?v=3","gravatar_id":"","url":"https://api.github.com/users/Danappelxx","html_url":"https://github.com/Danappelxx","followers_url":"https://api.github.com/users/Danappelxx/followers","following_url":"https://api.github.com/users/Danappelxx/following{/other_user}","gists_url":"https://api.github.com/users/Danappelxx/gists{/gist_id}","starred_url":"https://api.github.com/users/Danappelxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danappelxx/subscriptions","organizations_url":"https://api.github.com/users/Danappelxx/orgs","repos_url":"https://api.github.com/users/Danappelxx/repos","events_url":"https://api.github.com/users/Danappelxx/events{/privacy}","received_events_url":"https://api.github.com/users/Danappelxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-17T00:53:56Z","updated_at":"2016-06-17T08:46:30Z","closed_at":null,"body":"Since every call creates a new instance of `Environment`, it makes it seem like a new environment is being created each time. I don't know if you have plans for this, but it makes more sense to me for the functions to be static.\r\n\r\n`Evironment().getVar` -> `Environment.getVar`"},"comment":{"url":"https://api.github.com/repos/czechboy0/Environment/issues/comments/226714900","html_url":"https://github.com/czechboy0/Environment/issues/3#issuecomment-226714900","issue_url":"https://api.github.com/repos/czechboy0/Environment/issues/3","id":226714900,"user":{"login":"czechboy0","id":2182121,"avatar_url":"https://avatars.githubusercontent.com/u/2182121?v=3","gravatar_id":"","url":"https://api.github.com/users/czechboy0","html_url":"https://github.com/czechboy0","followers_url":"https://api.github.com/users/czechboy0/followers","following_url":"https://api.github.com/users/czechboy0/following{/other_user}","gists_url":"https://api.github.com/users/czechboy0/gists{/gist_id}","starred_url":"https://api.github.com/users/czechboy0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czechboy0/subscriptions","organizations_url":"https://api.github.com/users/czechboy0/orgs","repos_url":"https://api.github.com/users/czechboy0/repos","events_url":"https://api.github.com/users/czechboy0/events{/privacy}","received_events_url":"https://api.github.com/users/czechboy0/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T08:46:30Z","updated_at":"2016-06-17T08:46:30Z","body":"I've considered this, and it's probably the most pragmatic thing to do. I first built it as a struct so that it could technically be replaced by a testing version in tests, but as there's no protocol `Environment` yet, it doesn't bring us anything.\r\n\r\nI'd accept a PR if you have time. 👍 "}}
{"actor":{"display_login":"czechboy0"}}