Class: Resourceful::NetHttpAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#net_http_request_class_with_options(method) ⇒ Object



262
263
264
265
266
267
268
# File 'lib/core_ext.rb', line 262

def net_http_request_class_with_options(method)
  if method == :options
    Net::HTTP::Options
  else
    net_http_request_class_without_options(method)
  end
end