Sha256: 5b42db4a1bb7b8d167a2b444b50b4aaf389daf9ba4337db787531241345e4513
Contents?: true
Size: 427 Bytes
Versions: 4
Compression:
Stored size: 427 Bytes
Contents
require 'active_resource' require_relative 'collections/base' module RedmineRest module Models # # issue status model # class IssueStatus < ActiveResource::Base self.format = :xml self.collection_parser = Collections::Base def self.find(*args) fail('Issue statuses 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