Class: Greeve::Corporation::Standings
- Defined in:
- lib/greeve/corporation/standings.rb
Overview
Note:
Standings that non-player entities have to the corporation.
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
#agents ⇒ Greeve::Rowset
11 12 13 14 15 |
# File 'lib/greeve/corporation/standings.rb', line 11 rowset :agents, xpath: "eveapi/result/corporationNPCStandings/rowset[@name='agents']" do attribute :from_id, xpath: "@fromID", type: :integer attribute :from_name, xpath: "@fromName", type: :string attribute :standing, xpath: "@standing", type: :numeric end |
#factions ⇒ Greeve::Rowset
23 24 25 26 27 |
# File 'lib/greeve/corporation/standings.rb', line 23 rowset :factions, xpath: "eveapi/result/corporationNPCStandings/rowset[@name='factions']" do attribute :from_id, xpath: "@fromID", type: :integer attribute :from_name, xpath: "@fromName", type: :string attribute :standing, xpath: "@standing", type: :numeric end |
#npc_corporations ⇒ Greeve::Rowset
17 18 19 20 21 |
# File 'lib/greeve/corporation/standings.rb', line 17 rowset :npc_corporations, xpath: "eveapi/result/corporationNPCStandings/rowset[@name='NPCCorporations']" do attribute :from_id, xpath: "@fromID", type: :integer attribute :from_name, xpath: "@fromName", type: :string attribute :standing, xpath: "@standing", type: :numeric end |