Sha256: fe1e114fed1a4b38f4567b338e4d8b5f0e2bd6e54dc3f0e2bd2def6fd431da2b
Contents?: true
Size: 489 Bytes
Versions: 9
Compression:
Stored size: 489 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module ContactData class Link extend ContactData BASE = :links class << self def latest(params = {}) Fetcher.get :latest, params.to_options(BASE) end def info(params = {}) Fetcher.get :info, params.to_options(BASE) end def search(params = {}) params[:timeout] ||= 600 if params.is_a? Hash Fetcher.get :search, params.to_options(BASE) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems