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

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 =

      column = nodeDefs[node.nodeIndex].column
      name = step.nodeStepName
      if node.isActivated
        name = "*#{step.nodeStepName}*"
      text[column] = "" unless text[column]
      text[column]+= name + " | "

    setText node for node in nodes
    return text

  # 'fetchVendorDefs': (callback) ->
  #   options =
  #     method: 'GET'
  #     url: 'http://destiny.plumbing/raw/mobileWorldContent/en/DestinyStatDefinition.json'
  #     gzip: true
  #
  #   request(options, callback)
  #
  # 'fetchStatDefs': (callback) ->
  #   options =
  #     method: 'GET'
  #     url: 'http://destiny.plumbing/raw/mobileWorldContent/en/DestinyStatDefinition.json'
  #     gzip: true
  #
  #   request(options, callback)

module.exports = DataHelper
