Class: Greeve::Character::ContactList

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

Overview

The character’s personal, corporation, and alliance contacts.

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 = {}) ⇒ ContactList

Returns a new instance of ContactList.

Parameters:

  • character_id (Integer)

    EVE character ID



52
53
54
55
# File 'lib/greeve/character/contact_list.rb', line 52

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