module KayakoClient::CommentObject::ClassMethods

Public Instance Methods

all(object, options = {}) click to toggle source
Calls superclass method
# File lib/kayako_client/mixins/comment_object.rb, line 79
def all(object, options = {})
    unless object.to_i > 0
        logger.error "invalid commented object :id - #{object}" if logger
        raise ArgumentError, "invalid commented object ID"
    end
    super(options.merge(:e => "#{path}/ListAll/#{object.to_i}"))
end