Class: Redmine::Issue

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/renuo/cli/app/redmine/issue.rb

Constant Summary collapse

STATUSES =
{
  to_start: 9,
  planned: 15,
  in_progress: 2,
  qa: 12
}.freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.headersObject



17
18
19
# File 'lib/renuo/cli/app/redmine/issue.rb', line 17

def self.headers
  { "X-Redmine-API-Key" => RenuoCliConfig.redmine_api_key }
end

Instance Method Details

#html_urlObject



21
22
23
# File 'lib/renuo/cli/app/redmine/issue.rb', line 21

def html_url
  "#{self.class.site}issues/#{id}"
end