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

#data, #valid?, #xml

Methods included from Headers

#mws_quota_max, #mws_quota_remaining, #mws_quota_resets_on, #mws_request_id, #mws_response_context, #mws_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