Class: Greeve::Eve::RefTypes
- Defined in:
- lib/greeve/eve/ref_types.rb
Overview
Note:
Endpoint: api.eveonline.com/eve/RefTypes.xml.aspx
A list of transaction types used in the Corporation::WalletJournal and Character::WalletJournal.
Attributes collapse
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #initialize, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
This class inherits a constructor from Greeve::BaseItem
Instance Method Details
#ref_types ⇒ Greeve::Rowset
12 13 14 15 |
# File 'lib/greeve/eve/ref_types.rb', line 12 rowset :ref_types, xpath: "eveapi/result/rowset[@name='refTypes']" do attribute :ref_type_id, xpath: "@refTypeID", type: :integer attribute :ref_type_name, xpath: "@refTypeName", type: :string end |