Method: RestClient.options

Defined in:
lib/ext/rest_client.rb,
lib/rest_client_config.rb

.options(url, headers = {}, &block) ⇒ Object



42
43
44
# File 'lib/ext/rest_client.rb', line 42

def self.options(url, headers={}, &block)
  Request.execute(:method => :options, :url => url, :headers => headers, **@@config, &block)
end