Sha256: a1ffdfea32498e3340fa1a86d0842ba7987273b00d37ece1609910bbb3c05819
Contents?: true
Size: 529 Bytes
Versions: 4
Compression:
Stored size: 529 Bytes
Contents
require 'data-com-api/company' require 'data-com-api/responses/search_base' require 'data-com-api/responses/base' module DataComApi module Responses class SearchCompany < SearchBase protected def transform_request(request) request['companies'].map do |contact_attributes| DataComApi::Company.new(contact_attributes) end end def perform_request(received_options) client.search_company_raw_json(received_options) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems