class Lushao::Api
Attributes
key[R]
Public Class Methods
new(key)
click to toggle source
# File lib/lushao/api.rb, line 10 def initialize(key) @key = key end
Public Instance Methods
find_company_with_domain(domain)
click to toggle source
# File lib/lushao/api.rb, line 26 def find_company_with_domain(domain) Lushao::Person.new(domain,1, self.key).get_results end
find_company_with_name(name)
click to toggle source
# File lib/lushao/api.rb, line 22 def find_company_with_name(name) Lushao::Person.new(name,0, self.key).get_results end
find_person_with_company(company, first_name, last_name,property=nil)
click to toggle source
# File lib/lushao/api.rb, line 14 def find_person_with_company(company, first_name, last_name,property=nil) Lushao::Person.new(company, first_name, last_name,0, self.key,property).get_results end
find_person_with_domain(domain, first_name, last_name,property=nil)
click to toggle source
# File lib/lushao/api.rb, line 18 def find_person_with_domain(domain, first_name, last_name,property=nil) Lushao::Person.new(domain, first_name, last_name,1, self.key,property).get_results end