class LeanTesting::BugCommentsHandler

Public Class Methods

new(origin, bugID) click to toggle source
Calls superclass method LeanTesting::EntityHandler::new
# File lib/Handler/Bug/BugCommentsHandler.rb, line 4
def initialize(origin, bugID)
        super(origin)

        @bugID = bugID
end

Public Instance Methods

all(filters = nil) click to toggle source
Calls superclass method LeanTesting::EntityHandler#all
# File lib/Handler/Bug/BugCommentsHandler.rb, line 10
def all(filters = nil)
        if !filters
                filters = {}
        end

        super

        request = APIRequest.new(@origin, '/v1/bugs/' + @bugID.to_s() + '/comments', 'GET')
        EntityList.new(@origin, request, BugComment, filters)
end