module Assembly::Actions::Update

Public Class Methods

included(base) click to toggle source
# File lib/assembly/actions/update.rb, line 17
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

save(params={})
Alias for: update
update(params={}) click to toggle source
# File lib/assembly/actions/update.rb, line 11
def update(params={})
  response = client.put(path, dirty_params.merge(params))
  self.update_from(response)
end
Also aliased as: save