Sha256: 27a43e26fc96b54376a06d51a74b959bd69e0a4757c1e7f5425d60f5ebd50f4d
Contents?: true
Size: 450 Bytes
Versions: 126
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true class ReeHttp::HttpDelete include Ree::FnDSL fn :http_delete do link :http_exec, import: -> { OPTS_CONTRACT } end doc(<<~DOC) Sends DELETE 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(:delete, url, **opts, &block) end end
Version data entries
126 entries across 126 versions & 1 rubygems