ruby_omx 0.0.33 → 0.0.34
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby_omx/response/response_error.rb +2 -1
- data/lib/ruby_omx/version.rb +1 -1
- metadata +1 -1
@@ -11,7 +11,8 @@ module RubyOmx
|
|
11
11
|
xml_reader :error_messages, :as=>[ErrorMessage], :in=>'ErrorData'
|
12
12
|
|
13
13
|
def to_s
|
14
|
-
self.errors.collect{ |e| e.message.to_s }.join(',')
|
14
|
+
error_string = self.errors ? self.errors.collect{ |e| e.message.to_s }.join(',') : "none"
|
15
|
+
return "Errors: #{error_string}"
|
15
16
|
end
|
16
17
|
|
17
18
|
end
|
data/lib/ruby_omx/version.rb
CHANGED