We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c932b73 commit e449613Copy full SHA for e449613
lib/easy_hubspot/contact.rb
@@ -35,13 +35,13 @@ def update_or_create_contact(email, body)
35
end
36
37
38
- private
+ private
39
40
def determine_endpoint(value)
41
email_endpoint = "#{CONTACT_ENDPOINT}/#{value}?idProperty=email"
42
id_endpoint = "#{CONTACT_ENDPOINT}/#{value}"
43
email?(value.to_s) ? email_endpoint : id_endpoint
44
45
- end
+ end
46
47
lib/easy_hubspot/deal.rb
@@ -26,11 +26,11 @@ def delete_deal(deal_id)
26
Client.do_delete(deal_id_endpoint(deal_id), headers)
27
28
29
30
31
def deal_id_endpoint(deal_id)
32
"#{DEAL_ENDPOINT}/#{deal_id}"
33
34
0 commit comments