Class: FcEnrich::PersonEnrichRequest

Inherits:
Hashie::Trash
  • Object
show all
Includes:
Hashie::Extensions::IndifferentAccess
Defined in:
lib/fc_enrich/person_enrich_request.rb

Defined Under Namespace

Classes: Response

Instance Method Summary collapse

Instance Method Details

#perform(http_client: FcEnrich.http_client) ⇒ Object



24
25
26
27
28
# File 'lib/fc_enrich/person_enrich_request.rb', line 24

def perform(http_client: FcEnrich.http_client)
  Response.new(
    http_client.post("/v3/person.enrich", to_hash)
  )
end