Sha256: afa81b45f95bf60183abde4c9080d5cbf8185fae04c190aba726a361b8a76fc6
Contents?: true
Size: 970 Bytes
Versions: 2
Compression:
Stored size: 970 Bytes
Contents
# frozen_string_literal: true module Adobe module Campaign class Profile < Adobe::Campaign::Base def self.endpoint 'profileAndServicesExt/profile' end def self.by_email(search_text) get_request("#{endpoint}/byEmail?email=#{search_text}") end # Example Create Payload # { # "birthDate": '', # "email": 'a.test@cru.org', # "emailFormat": 'unknown', # "fax": '', # "firstName": 'A Test', # "gender": 'male', # "lastName": 'Profile', # "location": { # "address1": '123 North St', # "address2": '', # "address3": '', # "address4": '', # "city": 'Orlando', # "countryCode": 'US', # "stateCode": 'FL', # "zipCode": '32714' # }, # "middleName": '', # "mobilePhone": '', # "phone": '', # "salutation": 'Mr' # } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adobe-campaign-0.2.1 | lib/adobe/campaign/profile.rb |
adobe-campaign-0.2.0 | lib/adobe/campaign/profile.rb |