Sha256: 80ee32ba773df4cb87f31673362f02bd2929de298853b59794085157065688a4
Contents?: true
Size: 479 Bytes
Versions: 4
Compression:
Stored size: 479 Bytes
Contents
require 'active_resource' require_relative 'collections/base' module RedmineRest module Models # # time entry activity model # class TimeEntryActivity < ActiveResource::Base self.format = :xml self.collection_parser = Collections::Base self.prefix = '/enumerations/' def self.find(*args) fail('Issue priorities can be loaded as :all only') unless args.size == 1 && args.first == :all super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems