Sha256: 39302d33784f27d87685bb171ba999361981d56951e36a702c3b46786047b95e
Contents?: true
Size: 517 Bytes
Versions: 103
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true module Dor module Services class Client # Wraps connections to allow GET requests to be retriable. class ConnectionWrapper delegate :get, to: :get_connection delegate :post, :delete, :put, :patch, to: :connection def initialize(connection:, get_connection:) @connection = connection @get_connection = get_connection end private attr_reader :connection, :get_connection end end end end
Version data entries
103 entries across 103 versions & 1 rubygems