class FedexWebServices::Response
Attributes
contents[R]
Public Class Methods
new(contents)
click to toggle source
# File lib/fedex_web_services/response.rb, line 5 def initialize(contents) @contents = contents end
Public Instance Methods
errors()
click to toggle source
# File lib/fedex_web_services/response.rb, line 9 def errors contents.notifications.reject do |notification| [ "SUCCESS", "NOTE", "WARNING" ].include?(notification.severity) end end