Sha256: e4a84e1346fc5c641f5fc7e49339f31a767a110e3d2d383b57b580e75138de76
Contents?: true
Size: 605 Bytes
Versions: 32
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true module Dor module Services class Client # API calls that are about searching AdministrativeTags class AdministrativeTagSearch < VersionedService def search(q:) # rubocop:disable Naming/MethodParameterName 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 end end end end
Version data entries
32 entries across 32 versions & 1 rubygems