Class: Adobe::Campaign::Profile

Inherits:
Base
  • Object
show all
Defined in:
lib/adobe/campaign/profile.rb

Class Method Summary collapse

Methods inherited from Base

access_token, all, auth_headers, find, get_request, load_access_token, post, post_request

Class Method Details

.by_email(search_text) ⇒ Object



10
11
12
# File 'lib/adobe/campaign/profile.rb', line 10

def self.by_email(search_text)
  get_request("#{endpoint}/byEmail?email=#{search_text}")
end

.endpointObject



6
7
8
# File 'lib/adobe/campaign/profile.rb', line 6

def self.endpoint
  'profileAndServicesExt/profile'
end