Sha256: b3233c0c1b541b31c9f4dcb4b09f68023b803d042bf98a8d15c9255315d1b450
Contents?: true
Size: 446 Bytes
Versions: 9
Compression:
Stored size: 446 Bytes
Contents
# encoding: utf-8 module ContactData class Contact BASE = :contacts class << self def search(name, options = {}) options[:base] = BASE options[:params] = { name: name } Fetcher.get(:search, options) end def from(source, slug, options = {}) options[:base] = BASE options[:params] = { source: source, slug: slug } Fetcher.get(:from, options) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems