Sha256: 6c0780610e1aabf81e8f009059a62a541ee10826ada4132d73685e29b0286b55

Contents?: true

Size: 854 Bytes

Versions: 143

Compression:

Stored size: 854 Bytes

Contents

Rails.application.routes.draw do
  extending = {only: []}

  namespace :account do
    shallow do
      resources BulletTrain::OutgoingWebhooks.parent_resource do
        namespace :webhooks do
          namespace :outgoing do
            resources :endpoints do
              resources :deliveries, only: %i[index show] do
                resources :delivery_attempts, only: %i[index show]
              end
            end
          end
        end
      end
    end
  end

  namespace :api do
    namespace :v1 do
      shallow do
        resources :teams, extending do
          namespace :webhooks do
            namespace :outgoing do
              resources :endpoints, defaults: {format: :json}
              resources :events, only: %i[index show], defaults: {format: :json}
            end
          end
        end
      end
    end
  end
end

Version data entries

143 entries across 143 versions & 1 rubygems

Version Path
bullet_train-outgoing_webhooks-1.18.0 config/routes.rb
bullet_train-outgoing_webhooks-1.17.1 config/routes.rb
bullet_train-outgoing_webhooks-1.17.0 config/routes.rb
bullet_train-outgoing_webhooks-1.16.0 config/routes.rb
bullet_train-outgoing_webhooks-1.15.0 config/routes.rb
bullet_train-outgoing_webhooks-1.14.2 config/routes.rb
bullet_train-outgoing_webhooks-1.14.1 config/routes.rb
bullet_train-outgoing_webhooks-1.14.0 config/routes.rb
bullet_train-outgoing_webhooks-1.13.0 config/routes.rb
bullet_train-outgoing_webhooks-1.12.3 config/routes.rb
bullet_train-outgoing_webhooks-1.12.2 config/routes.rb
bullet_train-outgoing_webhooks-1.12.1 config/routes.rb
bullet_train-outgoing_webhooks-1.12.0 config/routes.rb
bullet_train-outgoing_webhooks-1.11.0 config/routes.rb
bullet_train-outgoing_webhooks-1.10.0 config/routes.rb
bullet_train-outgoing_webhooks-1.9.0 config/routes.rb
bullet_train-outgoing_webhooks-1.8.5 config/routes.rb
bullet_train-outgoing_webhooks-1.8.4 config/routes.rb
bullet_train-outgoing_webhooks-1.8.3 config/routes.rb
bullet_train-outgoing_webhooks-1.8.2 config/routes.rb