Method: Trello::Webhook.create
- Defined in:
- lib/trello/webhook.rb
.create(options) ⇒ Trello::Webhook
Create a new webhook and save it to Trello.
41 42 43 44 45 46 |
# File 'lib/trello/webhook.rb', line 41 def create() client.create(:webhook, 'description' => [:description], 'idModel' => [:id_model], 'callbackURL' => [:callback_url]) end |