Module: Ribose::Actions::Update::ClassMethods
- Defined in:
- lib/ribose/actions/update.rb
Instance Method Summary collapse
-
#update(resource_id, attributes = {}) ⇒ Sawyer::Resource
Update a resource.
Instance Method Details
#update(resource_id, attributes = {}) ⇒ Sawyer::Resource
Update a resource
30 31 32 |
# File 'lib/ribose/actions/update.rb', line 30 def update(resource_id, attributes = {}) new(attributes.merge(resource_id: resource_id)).update end |