Module: Convoy::ApiOperations::Save::ClassMethods

Defined in:
lib/convoy/api_operations/save.rb

Instance Method Summary collapse

Instance Method Details

#update(id, **kwargs) ⇒ Object



5
6
7
8
9
10
# File 'lib/convoy/api_operations/save.rb', line 5

def update(id, **kwargs)
  resource = self.new(id, **kwargs)
  resource.update

  resource
end