Class: Greeve::Character::Blueprints

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

Overview

Blueprints in a character’s inventory.

Constant Summary collapse

BPO =

Blueprint original

-1
# Blueprint copy
BPC =

Blueprint copy

-2

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

Returns a new instance of Blueprints.

Parameters:

  • character_id (Integer)

    EVE character ID



29
30
31
32
# File 'lib/greeve/character/blueprints.rb', line 29

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