Sha256: 52fc3c4d31f828222833a45c00ac4018f4aad8a2e4746dc68d9941c8c87f2c3b
Contents?: true
Size: 388 Bytes
Versions: 13
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module Tana # The primary interface for making API requests. class Client include Import[:configuration] def initialize(endpoint: Endpoints::Add::Action.new, **) @endpoint = endpoint super(**) yield configuration if block_given? end def add(...) = endpoint.call(...) private attr_reader :endpoint end end
Version data entries
13 entries across 13 versions & 1 rubygems