class ContactData::Deprecated
Public Class Methods
find_contacts_in(text)
click to toggle source
# File lib/contact-data/deprecated.rb, line 12 def find_contacts_in(text) Fetcher.post('text/find_contacts', payload: { text: text }, timeout: 600) end
link_metadata(url)
click to toggle source
# File lib/contact-data/deprecated.rb, line 16 def link_metadata(url) Fetcher.get("link/#{CGI.escape(url)}", noformat: true) end
search(name, contact_type = nil)
click to toggle source
# File lib/contact-data/deprecated.rb, line 6 def search(name, contact_type = nil) options = {} options[:params] = { contact_type: contact_type } if contact_type Fetcher.get("name/#{name.encode_component}", options) end