Class: EveOnline::ESI::Models::Blueprint

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/blueprint.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#as_jsonObject



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/eve_online/esi/models/blueprint.rb', line 7

def as_json
  {
    item_id: item_id,
    location_flag: location_flag,
    location_id: location_id,
    material_efficiency: material_efficiency,
    quantity: quantity,
    runs: runs,
    time_efficiency: time_efficiency,
    type_id: type_id
  }
end

#item_idObject



20
21
22
# File 'lib/eve_online/esi/models/blueprint.rb', line 20

def item_id
  options['item_id']
end

#location_flagObject



24
25
26
# File 'lib/eve_online/esi/models/blueprint.rb', line 24

def location_flag
  options['location_flag']
end

#location_idObject



28
29
30
# File 'lib/eve_online/esi/models/blueprint.rb', line 28

def location_id
  options['location_id']
end

#material_efficiencyObject



32
33
34
# File 'lib/eve_online/esi/models/blueprint.rb', line 32

def material_efficiency
  options['material_efficiency']
end

#quantityObject



36
37
38
# File 'lib/eve_online/esi/models/blueprint.rb', line 36

def quantity
  options['quantity']
end

#runsObject



40
41
42
# File 'lib/eve_online/esi/models/blueprint.rb', line 40

def runs
  options['runs']
end

#time_efficiencyObject



44
45
46
# File 'lib/eve_online/esi/models/blueprint.rb', line 44

def time_efficiency
  options['time_efficiency']
end

#type_idObject



48
49
50
# File 'lib/eve_online/esi/models/blueprint.rb', line 48

def type_id
  options['type_id']
end