lib/syncano/query_builder.rb in syncano-4.0.0.alpha vs lib/syncano/query_builder.rb in syncano-4.0.0.alpha1

- old
+ new

@@ -29,9 +29,13 @@ def create(attributes = {}) resource_class.create(connection, scope_parameters, attributes) end + def destroy(primary_key) + resource_class.destroy connection, scope_parameters, primary_key + end + def space(at, options = {}) Syncano::Resources::Space.new(at, self, options) end private