class Trello::Webhook
A webhook is a URL called each time a specified model is updated
@!attribute [r] id
@return [String]
@!attribute [r] description
@return [String]
@!attribute [r] model_id
@return [String] A 24-character hex string
@!attribute [r] callback_url
@return [String]
@!attribute [r] active
@return [Boolean]
@!attribute [r] consecutive_failures
@return [Integer]
@!attribute [r] first_consecutive_fail_date
@return [Datetime]
Public Instance Methods
activated?()
click to toggle source
Check if the webhook is activated
@return [Boolean]
# File lib/trello/webhook.rb, line 46 def activated? active end
delete()
click to toggle source
Delete this webhook
@return [String] the JSON response from the Trello
API
# File lib/trello/webhook.rb, line 39 def delete client.delete("/webhooks/#{id}") end