Class: Webhookdb::AdminAPI::DataProvider
- Includes:
- Entities
- Defined in:
- lib/webhookdb/admin_api/data_provider.rb
Defined Under Namespace
Classes: CustomerRoleModel
Constant Summary collapse
- TYPEINFO =
{ backfill_jobs: [Webhookdb::BackfillJob, BackfillJob], customers: [Webhookdb::Customer, Customer], customer_reset_codes: [Webhookdb::Customer::ResetCode, CustomerResetCode], customer_roles: [CustomerRoleModel, CustomerRole], logged_webhooks: [Webhookdb::LoggedWebhook, LoggedWebhook], message_bodies: [Webhookdb::Message::Body, MessageBody], message_deliveries: [Webhookdb::Message::Delivery, MessageDelivery], organization_database_migrations: [Webhookdb::Organization::DatabaseMigration, OrganizationDatabaseMigration], organization_memberships: [Webhookdb::OrganizationMembership, OrganizationMembership], organizations: [Webhookdb::Organization, Organization], replicated_databases: [nil, nil], roles: [Webhookdb::Role, Role], saved_queries: [Webhookdb::SavedQuery, SavedQuery], saved_views: [Webhookdb::SavedView, SavedView], service_integrations: [Webhookdb::ServiceIntegration, ServiceIntegration], subscriptions: [Webhookdb::Subscription, Subscription], sync_targets: [Webhookdb::SyncTarget, SyncTarget], webhook_subscriptions: [Webhookdb::WebhookSubscription, WebhookSubscription], webhook_subscription_deliveries: [Webhookdb::WebhookSubscription::Delivery, WebhookSubscriptionDelivery], }.freeze
- TYPES_FOR_RESOURCES =
TYPEINFO.transform_values { |v| v[0] }.freeze
- ENTITIES_FOR_TYPES =
TYPEINFO.values.to_h { |v| [v[0], v[1]] }.freeze
Constants included from Entities
Entities::CurrentCustomer, Entities::Money, Entities::TimeRange
Constants inherited from Service
Service::AUTH_TOKEN_HEADER, Service::AUTH_TOKEN_HTTP, Service::DEFAULT_CORS_ORIGINS, Service::SESSION_COOKIE, Service::SHORT_SESSION_HEADER, Service::SHORT_SESSION_HTTP
Method Summary
Methods inherited from V1
Methods inherited from Service
build_app, cookie_config, decode_cookie, error_body
Methods included from MethodUtilities
#attr_predicate, #attr_predicate_accessor, #singleton_attr_accessor, #singleton_attr_reader, #singleton_attr_writer, #singleton_method_alias, #singleton_predicate_accessor, #singleton_predicate_reader