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.



15
16
17
# File 'lib/peddler/errors/parser.rb', line 15

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.



7
8
9
# File 'lib/peddler/errors/parser.rb', line 7

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.



11
12
13
# File 'lib/peddler/errors/parser.rb', line 11

def type
  parse['Type']
end