Sha256: 0b24ac1919c7b4b1bf77ea19b0bbba329d504a89f022ed6e3a429161ef56ff47
Contents?: true
Size: 539 Bytes
Versions: 4
Compression:
Stored size: 539 Bytes
Contents
# encoding: utf-8 module ContactData class Deprecated class << self def search(name, contact_type = nil) options = {} options[:params] = { contact_type: contact_type } if contact_type Fetcher.get("name/#{Fetcher.encode_component name}", options) end def find_contacts_in(text) Fetcher.post('text/find_contacts', payload: { text: text }, timeout: 600) end def link_metadata(url) Fetcher.get("link/#{CGI.escape(url)}", noformat: true) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems