Sha256: a45680c165784327fd7cb90daa4b3fe43d4173c9c792abede475d78da1f990a9
Contents?: true
Size: 547 Bytes
Versions: 2
Compression:
Stored size: 547 Bytes
Contents
# A concern for recordingable models module Basecamp3 module Concerns module Recordingable def self.included(base) base.extend(ClassMethods) end module ClassMethods # Deletes the record. # # @param [Integer] bucket_id the id of the bucket # @param [Integer] id the id of the record # # @return [Boolean] def delete(bucket_id, id) Basecamp3.request.put("/buckets/#{bucket_id}/recordings/#{id}/status/trashed") end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
basecamp3-0.1.4 | lib/basecamp3/concerns/recordingable.rb |
basecamp3-0.1.3 | lib/basecamp3/concerns/recordingable.rb |