{"action":"closed","issue":{"url":"https://api.github.com/repos/rafaelrinaldi/sound-manager/issues/2","labels_url":"https://api.github.com/repos/rafaelrinaldi/sound-manager/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rafaelrinaldi/sound-manager/issues/2/comments","events_url":"https://api.github.com/repos/rafaelrinaldi/sound-manager/issues/2/events","html_url":"https://github.com/rafaelrinaldi/sound-manager/issues/2","id":10527832,"number":2,"title":"Each property should be a method.","user":{"login":"rafaelrinaldi","id":87162,"avatar_url":"https://avatars.githubusercontent.com/u/87162?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelrinaldi","html_url":"https://github.com/rafaelrinaldi","followers_url":"https://api.github.com/users/rafaelrinaldi/followers","following_url":"https://api.github.com/users/rafaelrinaldi/following{/other_user}","gists_url":"https://api.github.com/users/rafaelrinaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelrinaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelrinaldi/subscriptions","organizations_url":"https://api.github.com/users/rafaelrinaldi/orgs","repos_url":"https://api.github.com/users/rafaelrinaldi/repos","events_url":"https://api.github.com/users/rafaelrinaldi/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelrinaldi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rafaelrinaldi/sound-manager/labels/enhancement","name":"enhancement","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2013-02-01T03:35:44Z","updated_at":"2015-11-18T13:35:37Z","closed_at":"2015-11-18T13:35:37Z","body":"In order to keep the chaining structure, I think it's better to have all `SoundItem` properties as methods. For example, to set the volume you now do the following:\r\n\r\n`sound().item(\"foo\").volume = 1;`\r\n\r\nWith this change we will be able to keep the chaining structure:\r\n\r\n`sound().item(\"foo\").volume(1).pan(.5);`"}}