Sha256: 2785e192fb6ec0f65a47ff8b6fda86be26b508322d23656cf01141bd6c37b2f4
Contents?: true
Size: 517 Bytes
Versions: 7
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true module Dor module Services class Client # @abstract API calls to a versioned endpoint class VersionedService def initialize(connection:, version:) @connection = connection @api_version = version end # Common interface for handling asynchronous results def async_result(url:) AsyncResult.new(url: url) end private attr_reader :connection, :api_version end end end end
Version data entries
7 entries across 7 versions & 1 rubygems