Class: Greeve::Character::Standings

Inherits:
BaseItem
  • Object
show all
Defined in:
lib/greeve/character/standings.rb

Overview

Character standings (does not take character skills into account).

Instance Method Summary collapse

Methods inherited from BaseItem

attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s

Methods included from Helpers::AttributeToHash

#to_h

Constructor Details

#initialize(character_id, opts = {}) ⇒ Standings

Returns a new instance of Standings.

Parameters:

  • character_id (Integer)

    EVE character ID



30
31
32
33
# File 'lib/greeve/character/standings.rb', line 30

def initialize(character_id, opts = {})
  opts[:query_params] = { "characterID" => character_id }
  super(opts)
end