Class: G5YglClient20::GetLeadRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/g5_ygl_client_20/requests/get_lead_request.rb

Class Method Summary collapse

Class Method Details

.execute(auth, url, subscription_id, property_id, lead_id) ⇒ Object

This is merely placeholder code - this feature is not implemented



4
5
6
7
8
9
# File 'lib/g5_ygl_client_20/requests/get_lead_request.rb', line 4

def self.execute(auth,url, subscription_id,property_id, lead_id)
  response = HTTParty.get("#{url}#{property_id}/leads/#{lead_id}?subscriptionId=#{subscription_id}",
                          :headers => {"Authorization" => auth,
                                       "Host" => HOST,
                                       "Accept" => "application/json"})
end