Method: Particle::Client::Webhooks#webhooks

Defined in:
lib/particle/client/webhooks.rb

#webhooksArray<Webhook>

List all Particle webhooks on the account

Returns:

  • (Array<Webhook>)

    List of Particle webhooks to interact with



26
27
28
29
30
# File 'lib/particle/client/webhooks.rb', line 26

def webhooks
  get(Webhook.list_path).map do |attributes|
    webhook(attributes)
  end
end