Class: FcEnrich::CompanyEnrichRequest

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

Defined Under Namespace

Classes: Response

Instance Method Summary collapse

Instance Method Details

#perform(http_client: FcEnrich.http_client) ⇒ Object



13
14
15
16
17
# File 'lib/fc_enrich/company_enrich_request.rb', line 13

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