class Spaceship::UnexpectedResponse
Attributes
Public Class Methods
Source
# File spaceship/lib/spaceship/errors.rb, line 83 def initialize(error_info = nil) super(error_info) @error_info = error_info end
Calls superclass method
Public Instance Methods
Source
# File spaceship/lib/spaceship/errors.rb, line 88 def preferred_error_info return nil unless @error_info.kind_of?(Hash) && @error_info['resultString'] [ "Apple provided the following error info:", @error_info['resultString'], @error_info['userString'] ].compact.uniq # sometimes 'resultString' and 'userString' are the same value end