Sha256: 68dbcde6b953f1c0ac6a77ae6b26732acf0db5936bc2d7fa75f4120515d161be

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

require_relative "../base_item"

module Greeve
  module Eve
    # A list of error codes and text that the API may return.
    #
    # @see https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_errorlist.html
    class ErrorList < Greeve::BaseItem
      endpoint "eve/ErrorList"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
greeve-1.0.0 lib/greeve/eve/error_list.rb