Class: Greeve::Map::Sovereignty
- Defined in:
- lib/greeve/map/sovereignty.rb
Overview
Note:
Provides sovereignty / ownership information for solar systems in New Eden, excluding wormhole space.
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
#solar_systems ⇒ Greeve::Rowset
12 13 14 15 16 17 18 |
# File 'lib/greeve/map/sovereignty.rb', line 12 rowset :solar_systems, xpath: "eveapi/result/rowset[@name='solarSystems']" do attribute :solar_system_id, xpath: "@solarSystemID", type: :integer attribute :alliance_id, xpath: "@allianceID", type: :integer attribute :faction_id, xpath: "@factionID", type: :integer attribute :corporation_id, xpath: "@corporationID", type: :integer attribute :solar_system_name, xpath: "@solarSystemName", type: :string end |