Sha256: b90eb55e1e8d90b5f6a913d625c37e19620a4b0434a726ebbfeecfa55abdfe1a
Contents?: true
Size: 432 Bytes
Versions: 15
Compression:
Stored size: 432 Bytes
Contents
require 'active_resource' module Redmine class Issue < ActiveResource::Base STATUSES = { to_start: 9, planned: 15, in_progress: 2, qa: 12 }.freeze self.site = 'https://redmine.renuo.ch' self.include_root_in_json = true def self.headers { 'X-Redmine-API-Key' => RenuoCliConfig.redmine_api_key } end def html_url "#{self.class.site}issues/#{id}" end end end
Version data entries
15 entries across 15 versions & 1 rubygems