Class: Greeve::Corporation::StarbaseList
- Defined in:
- lib/greeve/corporation/starbase_list.rb
Overview
Note:
List of corporation starbases.
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
#starbases ⇒ Greeve::Rowset
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/greeve/corporation/starbase_list.rb', line 11 rowset :starbases, xpath: "eveapi/result/rowset[@name='starbases']" do attribute :item_id, xpath: "@itemID", type: :integer attribute :type_id, xpath: "@typeID", type: :integer attribute :location_id, xpath: "@locationID", type: :integer attribute :moon_id, xpath: "@moonID", type: :integer attribute :state, xpath: "@state", type: :integer attribute :state_timestamp, xpath: "@stateTimestamp", type: :datetime attribute :online_timestamp, xpath: "@onlineTimestamp", type: :datetime attribute :standing_owner_id, xpath: "@standingOwnerID", type: :integer end |