edubkendo
9/3/2012 - 9:15 PM

our ircBot model after adding the init method

our ircBot model after adding the init method

class App.IrcBot extends Tower.Model
  @field 'channel', type: 'String'
  @field 'server', type: 'String'
  @field 'name', type: 'String'

  @after 'create', 'init'

  @timestamps()

  init: ->