class ShopifyGraphql::Configuration

Attributes

webhook_enabled_environments[RW]
webhook_jobs_namespace[RW]
webhooks[RW]
webhooks_manager_queue_name[RW]

Public Class Methods

new() click to toggle source
# File lib/shopify_graphql/configuration.rb, line 8
def initialize
  @webhooks_manager_queue_name = Rails.application.config.active_job.queue_name
  @webhook_enabled_environments = ['production']
end

Public Instance Methods

has_webhooks?() click to toggle source
# File lib/shopify_graphql/configuration.rb, line 13
def has_webhooks?
  webhooks.present?
end