class Eve::Api::Characters
Constants
- Character
Attributes
characters[R]
Public Class Methods
client()
click to toggle source
# File lib/eve/api/characters.rb, line 14 def self.client @@xml_client end
endpoint()
click to toggle source
# File lib/eve/api/characters.rb, line 10 def self.endpoint "account/Characters.xml.aspx" end
new(opts={})
click to toggle source
# File lib/eve/api/characters.rb, line 18 def initialize(opts={}) @characters = opts["rowset"]["row"].map do |r| Character.new(r["name"], r["characterID"], r["corporationName"], r["corporationID"], r["allianceID"], r["allianceName"], r["factionID"], r["factionName"]) end end