Sha256: 3343ef982ae531bfb77a3a72d35e36c6b87610847f91ed5bcb609b3b58ef876e
Contents?: true
Size: 456 Bytes
Versions: 126
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true class ReeHttp::HttpOptions include Ree::FnDSL fn :http_options do link :http_exec, import: -> { OPTS_CONTRACT } end doc(<<~DOC) Sends OPTIONS HTTP request to a specified destination. See http_exec for usage examples. DOC contract( String, Ksplat[**OPTS_CONTRACT], Optblock => Net::HTTPResponse, ) def call(url, **opts, &block) http_exec(:options, url, **opts, &block) end end
Version data entries
126 entries across 126 versions & 1 rubygems