lib/redmine_rest/models/version.rb in redmine_rest-0.3.0 vs lib/redmine_rest/models/version.rb in redmine_rest-0.4.0
- old
+ new
@@ -1,11 +1,15 @@
require 'active_resource'
+require_relative 'collections/version'
+
module RedmineRest
module Models
#
# Version model
#
class Version < ActiveResource::Base
+ self.format = :xml
+ self.collection_parser = Collections::Version
end
end
end