Class: Greeve::Eve::ConquerableStationList
- Defined in:
- lib/greeve/eve/conquerable_station_list.rb
Overview
Note:
A list of conquerable stations in New Eden.
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
#outposts ⇒ Greeve::Rowset
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/greeve/eve/conquerable_station_list.rb', line 11 rowset :outposts, xpath: "eveapi/result/rowset[@name='outposts']" do attribute :station_id, xpath: "@stationID", type: :integer attribute :station_name, xpath: "@stationName", type: :string attribute :station_type_id, xpath: "@stationTypeID", type: :integer attribute :solar_system_id, xpath: "@solarSystemID", type: :integer attribute :corporation_id, xpath: "@corporationID", type: :integer attribute :corporation_name, xpath: "@corporationName", type: :string attribute :x, xpath: "@x", type: :integer attribute :y, xpath: "@y", type: :integer attribute :z, xpath: "@z", type: :integer end |