@@ -67,7 +67,7 module Redmine | |||||
67 | # password -> unnecessary too |
|
67 | # password -> unnecessary too | |
68 | def initialize(url, root_url=nil, login=nil, password=nil, |
|
68 | def initialize(url, root_url=nil, login=nil, password=nil, | |
69 | path_encoding=nil) |
|
69 | path_encoding=nil) | |
70 |
@path_encoding = path_encoding |
|
70 | @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding | |
71 | @url = url |
|
71 | @url = url | |
72 | # TODO: better Exception here (IllegalArgumentException) |
|
72 | # TODO: better Exception here (IllegalArgumentException) | |
73 | raise CommandFailed if root_url.blank? |
|
73 | raise CommandFailed if root_url.blank? |
General Comments 0
You need to be logged in to leave comments.
Login now