Class: HighLevel::Resources::EmailIsv

Inherits:
Base
  • Object
show all
Defined in:
lib/high_level/resources/email_isv.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from HighLevel::Resources::Base

Instance Method Details

#verify_email(body:, location_id: nil, **_opts) ⇒ Object

Email Verification

Verify Email



12
13
14
15
16
17
18
19
20
# File 'lib/high_level/resources/email_isv.rb', line 12

def verify_email(body:, location_id: nil, **_opts)
  request(
    method: :post,
    path: "/email/verify",
    security: ["Location-Access"],
    params: { "locationId" => location_id }.compact,
    body: body
  )
end