Sha256: 0ae554165003c7fac40ae34ada1a909f294d63f3ff047f54ea2a68400e12e18c

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true
module Adobe
  module Campaign
    class Service < Adobe::Campaign::Base
      def self.endpoint
        'profileAndServicesExt/service'
      end

      def self.post_subscription(service_subs_url, person_pkey)
        payload = {
          'subscriber' => {
            'PKey' => person_pkey
          }
        }
        post_request(service_subs_url, payload)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adobe-campaign-0.2.0 lib/adobe/campaign/service.rb