Sha256: b19eb5bf13c5ebab800e5ae6cb89d2194f7cb422f5478c4d9f7396c9953099ba

Contents?: true

Size: 805 Bytes

Versions: 10

Compression:

Stored size: 805 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 :events
            resources :endpoints do
              resources :deliveries, only: [:index, :show] do
                resources :delivery_attempts, only: [: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}
            end
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bullet_train-outgoing_webhooks-1.2.9 config/routes.rb
bullet_train-outgoing_webhooks-1.2.8 config/routes.rb
bullet_train-outgoing_webhooks-1.2.7 config/routes.rb
bullet_train-outgoing_webhooks-1.2.6 config/routes.rb
bullet_train-outgoing_webhooks-1.2.5 config/routes.rb
bullet_train-outgoing_webhooks-1.2.4 config/routes.rb
bullet_train-outgoing_webhooks-1.2.3 config/routes.rb
bullet_train-outgoing_webhooks-1.2.2 config/routes.rb
bullet_train-outgoing_webhooks-1.2.1 config/routes.rb
bullet_train-outgoing_webhooks-1.2.0 config/routes.rb