lib/redmine_rest/models/issue.rb in redmine_rest-0.1.1 vs lib/redmine_rest/models/issue.rb in redmine_rest-0.2.0

- old
+ new

@@ -1,17 +1,20 @@ require 'active_resource' require_relative 'user' require_relative 'project' require_relative 'version' +require_relative 'collections/issue' module RedmineRest module Models # # issue model # class Issue < ActiveResource::Base self.format = :xml + self.collection_parser = Collections::Issue + has_one :author, class_name: User has_one :assigned_to, class_name: User has_one :project, class_name: Project has_one :version, class_name: Version end