Module: Basecamp3::Concerns::Recordingable::ClassMethods

Defined in:
lib/basecamp3/concerns/recordingable.rb

Instance Method Summary collapse

Instance Method Details

#delete(bucket_id, id) ⇒ Boolean

Deletes the record.

Parameters:

  • bucket_id (Integer)

    the id of the bucket

  • id (Integer)

    the id of the record

Returns:

  • (Boolean)


16
17
18
# File 'lib/basecamp3/concerns/recordingable.rb', line 16

def delete(bucket_id, id)
  Basecamp3.request.put("/buckets/#{bucket_id}/recordings/#{id}/status/trashed")
end