Class: Peddler::ErrorParser Private

Inherits:
XMLParser
  • Object
show all
Defined in:
lib/peddler/error_parser.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods inherited from XMLParser

#parse, #valid?, #xml

Instance Method Details

#codeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/peddler/error_parser.rb', line 14

def code
  parse['Code']
end

#messageObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



6
7
8
# File 'lib/peddler/error_parser.rb', line 6

def message
  parse['Message']
end

#typeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/peddler/error_parser.rb', line 10

def type
  parse['Type']
end