Sha256: d76855ae4d4255f5de37dfc77b99caa1c812ff53c144509f1479fd2c128bd2c7

Contents?: true

Size: 915 Bytes

Versions: 1

Compression:

Stored size: 915 Bytes

Contents

# frozen_string_literal: true
module Adobe
  module Campaign
    class << self
      attr_accessor :configuration
    end

    def self.configure
      self.configuration ||= Configuration.new
      yield(configuration)
    end

    class Configuration
      # Required. The issuer, your organization ID in the format org_ident@AdobeOrg.
      attr_accessor :org_id

      # Required. The subject, your API client account ID in the format: id@techacct.adobe.com.
      attr_accessor :tech_acct

      # Required. Api key retrieved from https://www.adobe.io/console/integrations
      attr_accessor :api_key
      attr_accessor :api_secret

      attr_accessor :signed_jwt

      attr_accessor :ims_host

      def initialize
        @org_id = ''
        @tech_acct = ''
        @api_key = ''
        @api_secret = ''
        @signed_jwt = ''
        @ims_host = 'ims-na1.adobelogin.com'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adobe-campaign-0.1.0.1 lib/adobe/campaign/configuration.rb