Sha256: 3aeb92e67f5786099b287ab990a966ba533a7b4cdec6f43e0eb0ef78429f8026
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
require_relative "../base_item" module Greeve module Corporation # Standings that non-player entities have to the corporation. # # @see https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_standings.html class Standings < Greeve::BaseItem endpoint "corp/Standings" 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 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 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
greeve-1.0.0 | lib/greeve/corporation/standings.rb |