{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-stdlib/issues/442","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-stdlib/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-stdlib/issues/442/comments","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-stdlib/issues/442/events","html_url":"https://github.com/puppetlabs/puppetlabs-stdlib/pull/442","id":69700532,"number":442,"title":"Adding a respond_to function","user":{"login":"danzilio","id":5214637,"avatar_url":"https://avatars.githubusercontent.com/u/5214637?v=3","gravatar_id":"","url":"https://api.github.com/users/danzilio","html_url":"https://github.com/danzilio","followers_url":"https://api.github.com/users/danzilio/followers","following_url":"https://api.github.com/users/danzilio/following{/other_user}","gists_url":"https://api.github.com/users/danzilio/gists{/gist_id}","starred_url":"https://api.github.com/users/danzilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danzilio/subscriptions","organizations_url":"https://api.github.com/users/danzilio/orgs","repos_url":"https://api.github.com/users/danzilio/repos","events_url":"https://api.github.com/users/danzilio/events{/privacy}","received_events_url":"https://api.github.com/users/danzilio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-04-20T23:05:49Z","updated_at":"2015-06-03T21:21:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-stdlib/pulls/442","html_url":"https://github.com/puppetlabs/puppetlabs-stdlib/pull/442","diff_url":"https://github.com/puppetlabs/puppetlabs-stdlib/pull/442.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-stdlib/pull/442.patch"},"body":"This PR adds a `respond_to` function to check if a resource type has a particular parameter, similar (in concept) to the `respond_to?` method in Ruby. This could be useful in a number of circumstances, not sure if I'm the only one that finds this function interesting."},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-stdlib/issues/comments/108619106","html_url":"https://github.com/puppetlabs/puppetlabs-stdlib/pull/442#issuecomment-108619106","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-stdlib/issues/442","id":108619106,"user":{"login":"purpleidea","id":135091,"avatar_url":"https://avatars.githubusercontent.com/u/135091?v=3","gravatar_id":"","url":"https://api.github.com/users/purpleidea","html_url":"https://github.com/purpleidea","followers_url":"https://api.github.com/users/purpleidea/followers","following_url":"https://api.github.com/users/purpleidea/following{/other_user}","gists_url":"https://api.github.com/users/purpleidea/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleidea/subscriptions","organizations_url":"https://api.github.com/users/purpleidea/orgs","repos_url":"https://api.github.com/users/purpleidea/repos","events_url":"https://api.github.com/users/purpleidea/events{/privacy}","received_events_url":"https://api.github.com/users/purpleidea/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T21:21:01Z","updated_at":"2015-06-03T21:21:01Z","body":"On Wed, Jun 3, 2015 at 4:49 PM, Spencer Krum <notifications@github.com>\nwrote:\n\n> Sorry! Thats 'my' bot. We're gonna fix it to not spam but haven't done\n> that yet. This is where we are tracking it: puppet-community/pcci#4\n> <https://github.com/puppet-community/pcci/issues/4>\n>\n\n\nPretty easy to stop the spamming by disabling it until your bot is fixed :)\n"}}