lib/eve_online/esi/models/blueprint.rb in eve_online-0.15.0 vs lib/eve_online/esi/models/blueprint.rb in eve_online-0.16.0
- old
+ new
@@ -5,49 +5,49 @@
module Models
class Blueprint < Base
def as_json
{
item_id: item_id,
- location_flag: location_flag,
+ type_id: type_id,
location_id: location_id,
- material_efficiency: material_efficiency,
quantity: quantity,
- runs: runs,
time_efficiency: time_efficiency,
- type_id: type_id
+ material_efficiency: material_efficiency,
+ runs: runs,
+ location_flag: location_flag
}
end
def item_id
options['item_id']
end
- def location_flag
- options['location_flag']
+ def type_id
+ options['type_id']
end
def location_id
options['location_id']
end
- def material_efficiency
- options['material_efficiency']
- end
-
def quantity
options['quantity']
end
- def runs
- options['runs']
- end
-
def time_efficiency
options['time_efficiency']
end
- def type_id
- options['type_id']
+ def material_efficiency
+ options['material_efficiency']
+ end
+
+ def runs
+ options['runs']
+ end
+
+ def location_flag
+ options['location_flag']
end
end
end
end
end