Sha256: e218a55d84ace5fc0882ebb6b006a3334a5a365c7b5bfcfe88056ba4cafd2643
Contents?: true
Size: 761 Bytes
Versions: 31
Compression:
Stored size: 761 Bytes
Contents
# frozen_string_literal: true require 'active_support/json' # required for serializing time as iso8601 module Dor module Services class Client # API calls that are about searching AdministrativeTags class AdministrativeTagSearch < VersionedService # rubocop:disable Naming/UncommunicativeMethodParamName def search(q:) resp = connection.get do |req| req.url "#{api_version}/administrative_tags/search?q=#{q}" end # Since argo is using this as a proxy, no need to parse the response. return resp.body if resp.success? raise_exception_based_on_response!(resp) end # rubocop:enable Naming/UncommunicativeMethodParamName end end end end
Version data entries
31 entries across 31 versions & 1 rubygems