module Zoomify::Resources::Webhooks

Private Instance Methods

webhook_method_with_id_options() click to toggle source
# File lib/zoomify/resources/webhooks.rb, line 33
def webhook_method_with_id_options
  {
      webhook: 'get',
      webhook_update: 'patch',
      webhook_delete: 'delete'
  }
end
webhook_method_without_id_options() click to toggle source
# File lib/zoomify/resources/webhooks.rb, line 17
def webhook_method_without_id_options
  {
      webhook_options: {
        request: 'patch',
        url: '/webhooks/options'
      },
      webhooks: {
          request: 'get',
          url: '/webhooks'
      },
      webhooks_create: {
          request: 'post',
          url: '/webhooks'
      }
  }
end