extra/mail_handler/rdm-mailhandler.rb
Method initialize
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize
self.issue_attributes = {}
opts = GetoptLong.new(
["--help", "-h", GetoptLong::NO_ARGUMENT],
Method submit
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def submit(email)
uri = url.gsub(%r{/*\z}, "") + "/mail_handler"
headers = { "User-Agent" => "Redmine mail handler/#{VERSION}" }