require 'active_resource' require_relative 'collections/base' module RedmineRest module Models # # Tracker model # class Tracker < ActiveResource::Base self.format = :xml self.collection_parser = Collections::Base def self.find(*args) fail('Trackers can be loaded as :all only') unless args.size == 1 && args.first == :all super end end end end