Class: Greeve::Eve::ErrorList

Inherits:
BaseItem
  • Object
show all
Defined in:
lib/greeve/eve/error_list.rb

Overview

A list of error codes and text that the API may return.

Attributes collapse

Methods inherited from BaseItem

attribute, #cache_expired?, #cached_until, endpoint, #initialize, #inspect, namespace, #refresh, rowset, #to_s

Methods included from Helpers::AttributeToHash

#to_h

Constructor Details

This class inherits a constructor from Greeve::BaseItem

Instance Method Details

#errorsGreeve::Rowset

Parameters:

  • error_code (Integer)
  • error_text (String)

Returns:



11
12
13
14
# File 'lib/greeve/eve/error_list.rb', line 11

rowset :errors, xpath: "eveapi/result/rowset[@name='errors']" do
  attribute :error_code, xpath: "@errorCode", type: :integer
  attribute :error_text, xpath: "@errorText", type: :string
end