     nodes: response.data.talentNodes
     nodeDefs: response.definitions.talentGrids[item.talentGridHash].nodes
     damageType: damageTypeName
+
+  'parseItemsForAttachment': (items) ->
+    items.map (item) => @parseItemAttachment(item)
 
   'parseItemAttachment': (item) ->
     name = "#{item.itemName}"

      column++
    return orderedNodes

  'buildText': (nodes, nodeDefs) ->
    getName = (node) ->
      step = nodeDefs[node.nodeIndex].steps[node.stepIndex]

request = require('request')

class DataHelper
  'fetchDefs': ->
    @fetchStatDefs (error, response, body) =>
      @statDefs = JSON.parse(body)
    @fetchVendorDefs (error, response, body) =>
      @vendorDefs = JSON.parse(body)

  'serializeFromApi': (response) ->
    damageColor =
      Kinetic: '#d9d9d9'
