Sha256: 37fcaa7c9cc0065b8993c0a2d1be74881ce326f0da1831517f7d608f89012495
Contents?: true
Size: 371 Bytes
Versions: 4
Compression:
Stored size: 371 Bytes
Contents
module RestClient class Resource def get_options(additional_headers = {}, &block) headers = (options[:headers] || {}).merge(additional_headers) Request.execute(options.merge( method: :options, url: url, headers: headers ), &block || @block) end end end
Version data entries
4 entries across 4 versions & 1 rubygems