Class: EveOnline::ESI::Models::Blueprint
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Blueprint
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
Instance Method Details
#as_json ⇒ Object
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_id ⇒ Object
20
21
22
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 20
def item_id
options['item_id']
end
|
#location_flag ⇒ Object
24
25
26
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 24
def location_flag
options['location_flag']
end
|
#location_id ⇒ Object
28
29
30
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 28
def location_id
options['location_id']
end
|
#material_efficiency ⇒ Object
32
33
34
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 32
def material_efficiency
options['material_efficiency']
end
|
#quantity ⇒ Object
36
37
38
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 36
def quantity
options['quantity']
end
|
#runs ⇒ Object
40
41
42
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 40
def runs
options['runs']
end
|
#time_efficiency ⇒ Object
44
45
46
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 44
def time_efficiency
options['time_efficiency']
end
|
#type_id ⇒ Object
48
49
50
|
# File 'lib/eve_online/esi/models/blueprint.rb', line 48
def type_id
options['type_id']
end
|