Skip to content

Commit 11cfbcc

Browse files
committed
Remove boolean return
Instead of returning boolean from the delete_photos! method, returning the response from the API is much more useful.
1 parent 874297f commit 11cfbcc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/spark_api/models/listing.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ def respond_to?(method_symbol, include_all=false)
237237

238238
def delete_photos!(photoIds, args={})
239239
connection.delete subresource_path("photos") + "/#{photoIds}", args
240-
true
241240
end
242241

243242
def delete_photos(photoIds, args={})

0 commit comments

Comments
 (0)