class LeanTesting::AttachmentsHandler

Public Instance Methods

delete(id) click to toggle source
Calls superclass method LeanTesting::EntityHandler#delete
# File lib/Handler/Attachment/AttachmentsHandler.rb, line 11
def delete(id)
        super

        req = APIRequest.new(@origin, '/v1/attachments/' + id.to_s(), 'DELETE')
        req.exec
end
find(id) click to toggle source
Calls superclass method LeanTesting::EntityHandler#find
# File lib/Handler/Attachment/AttachmentsHandler.rb, line 4
def find(id)
        super

        req = APIRequest.new(@origin, '/v1/attachments/' + id.to_s(), 'GET')
        BugAttachment.new(@origin, req.exec)
end