Module: RestClient

Defined in:
lib/couchrest/monkeypatches.rb

Class Method Summary collapse

Class Method Details

.copy(url, headers = {}) ⇒ Object



55
56
57
58
59
# File 'lib/couchrest/monkeypatches.rb', line 55

def self.copy(url, headers={})
  Request.execute(:method => :copy,
    :url => url,
    :headers => headers)
end