module KatelloApi module Resources class Task < KatelloApi::Base def self.doc @doc ||= KatelloApi.doc['resources']["tasks"] end # @param [Hash] params a hash of params to be passed to the service # @option params [String] organization_id organization identifier # # @param [Hash] headers additional http headers # @return [Array] First item: parsed data; second item: raw body def index(params = {}, headers = {}) perform_call(__method__, params, headers) end # @param [Hash] params a hash of params to be passed to the service # @option params [String] id task identifier # # @param [Hash] headers additional http headers # @return [Array] First item: parsed data; second item: raw body def show(params = {}, headers = {}) perform_call(__method__, params, headers) end end end end