Sha256: b8cd0255ba6d1d30a522483ab5d9d7b336d633df133dab7dc6dff1a4b6df85d3
Contents?: true
Size: 679 Bytes
Versions: 66
Compression:
Stored size: 679 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 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
66 entries across 66 versions & 1 rubygems