Class: Greeve::Character::Clones

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

Overview

Clones and basic attributes.

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

Returns a new instance of Clones.

Parameters:

  • character_id (Integer)

    EVE character ID



54
55
56
57
# File 'lib/greeve/character/clones.rb', line 54

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