Method: CloudApp::Drop.update
- Defined in:
- lib/cloudapp/drop.rb
.update(href, opts = {}) ⇒ CloudApp::Drop
Modify a drop. Can currently modify it’s name or security setting by passing parameters.
Requires authentication.
125 126 127 128 |
# File 'lib/cloudapp/drop.rb', line 125 def self.update(href, opts = {}) res = put href, {:body => {:item => opts}, :digest_auth => @@auth} res.ok? ? Drop.new(res) : bad_response(res) end |