Module: RestClient

Defined in:
lib/couchrest/monkeypatches.rb

Class Method Summary collapse

Class Method Details

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



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

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