Module: SparkApi::Models::Concerns::Destroyable::ClassMethods

Defined in:
lib/spark_api/models/concerns/destroyable.rb

Instance Method Summary collapse

Instance Method Details

#destroy(id, arguments = {}) ⇒ Object



13
14
15
# File 'lib/spark_api/models/concerns/destroyable.rb', line 13

def destroy(id, arguments = {})
  connection.delete("#{path}/#{id}", arguments)
end