Class: Peddler::Errors::Parser Private

Inherits:
XMLParser
  • Object
show all
Defined in:
lib/peddler/errors/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

Methods included from Headers

#quota, #request_id, #response_context, #timestamp

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.



17
18
19
# File 'lib/peddler/errors/parser.rb', line 17

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.



9
10
11
# File 'lib/peddler/errors/parser.rb', line 9

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.



13
14
15
# File 'lib/peddler/errors/parser.rb', line 13

def type
  parse['Type']
end