Sha256: 6c0780610e1aabf81e8f009059a62a541ee10826ada4132d73685e29b0286b55

Contents?: true

Size: 854 Bytes

Versions: 129

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

129 entries across 129 versions & 1 rubygems

Version Path
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
bullet_train-outgoing_webhooks-1.8.1 config/routes.rb
bullet_train-outgoing_webhooks-1.8.0 config/routes.rb
bullet_train-outgoing_webhooks-1.7.23 config/routes.rb
bullet_train-outgoing_webhooks-1.7.22 config/routes.rb
bullet_train-outgoing_webhooks-1.7.21 config/routes.rb
bullet_train-outgoing_webhooks-1.7.20 config/routes.rb
bullet_train-outgoing_webhooks-1.7.19 config/routes.rb
bullet_train-outgoing_webhooks-1.7.18 config/routes.rb
bullet_train-outgoing_webhooks-1.7.17 config/routes.rb
bullet_train-outgoing_webhooks-1.7.16 config/routes.rb
bullet_train-outgoing_webhooks-1.7.15 config/routes.rb
bullet_train-outgoing_webhooks-1.7.14 config/routes.rb
bullet_train-outgoing_webhooks-1.7.13 config/routes.rb
bullet_train-outgoing_webhooks-1.7.12 config/routes.rb