Sha256: b1ea5b6603d63739647a51c9b79ceb3a54d91fe3bb70e5e5d6a93f367b892099

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

module ActiveWebhook
  module Formatting
    class Configuration
      include ActiveWebhook::Configuration::Base

      define_option :adapter,
                    values: %i[json url_encoded],
                    allow_proc: true

      define_option :custom_header_prefix

      define_option :user_agent,
                    default: ActiveWebhook::IDENTIFIER
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_webhook-1.0.0 lib/active_webhook/formatting/configuration.rb