Sha256: 16785f1258e2ba66f0d19a0479d7a80ab298d0ce487fe4468e598cefcb172011

Contents?: true

Size: 375 Bytes

Versions: 8

Compression:

Stored size: 375 Bytes

Contents

module FullContact
  class Client
    module Company
      # Returns extended information for a given person (email, phone, twitter or facebook)
      #
      def company(options={}, faraday_options={})
        response = get('company/lookup', options, false, faraday_options)
        format.to_s.downcase == 'xml' ? response['person'] : response
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fullcontact-0.17.0 lib/fullcontact/client/company.rb
fullcontact-0.16.0 lib/fullcontact/client/company.rb
fullcontact-0.15.0 lib/fullcontact/client/company.rb
fullcontact-0.14.0 lib/fullcontact/client/company.rb
fullcontact-0.13.0 lib/fullcontact/client/company.rb
fullcontact-0.12.0 lib/fullcontact/client/company.rb
fullcontact-0.11.0 lib/fullcontact/client/company.rb
fullcontact-0.10.0 lib/fullcontact/client/company.rb