Sha256: f2b828f7b6c350848bd2db19bb423cde0535703c3c6c88c783635a7ceb571e71
Contents?: true
Size: 359 Bytes
Versions: 10
Compression:
Stored size: 359 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:, headers: ), &block || @block) end end end
Version data entries
10 entries across 10 versions & 1 rubygems