{"action":"opened","issue":{"url":"https://api.github.com/repos/SeBuDesign/Buckaroo-PHP/issues/1","repository_url":"https://api.github.com/repos/SeBuDesign/Buckaroo-PHP","labels_url":"https://api.github.com/repos/SeBuDesign/Buckaroo-PHP/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/SeBuDesign/Buckaroo-PHP/issues/1/comments","events_url":"https://api.github.com/repos/SeBuDesign/Buckaroo-PHP/issues/1/events","html_url":"https://github.com/SeBuDesign/Buckaroo-PHP/issues/1","id":159979504,"number":1,"title":"Specific function to retrieve RequiredAction Type","user":{"login":"SeBuDesign","id":1454452,"avatar_url":"https://avatars.githubusercontent.com/u/1454452?v=3","gravatar_id":"","url":"https://api.github.com/users/SeBuDesign","html_url":"https://github.com/SeBuDesign","followers_url":"https://api.github.com/users/SeBuDesign/followers","following_url":"https://api.github.com/users/SeBuDesign/following{/other_user}","gists_url":"https://api.github.com/users/SeBuDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/SeBuDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeBuDesign/subscriptions","organizations_url":"https://api.github.com/users/SeBuDesign/orgs","repos_url":"https://api.github.com/users/SeBuDesign/repos","events_url":"https://api.github.com/users/SeBuDesign/events{/privacy}","received_events_url":"https://api.github.com/users/SeBuDesign/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeBuDesign/Buckaroo-PHP/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-13T15:34:03Z","updated_at":"2016-06-13T15:34:03Z","closed_at":null,"body":"If you want to get the type at the current version of the package (1.0.1) you have to write the following:\r\n```php\r\n$oResponse->getRequiredActionObject()->getType()\r\n```\r\n\r\nI would like to have the following made possible:\r\n```php\r\n$oResponse->getRequiredActionType()\r\n```\r\n\r\nIt would be nice to have so our code looks cleaner."}}
{"actor":{"display_login":"SeBuDesign"}}