Class: NiwaTextream::Category

Inherits:
BaseModel show all
Defined in:
lib/niwa_textream/models/category.rb

Overview

Contains Category object.

Instance Attribute Summary collapse

Attributes inherited from BaseModel

#elem

Instance Method Summary collapse

Constructor Details

#initializeCategory

Returns a new instance of Category.



15
16
# File 'lib/niwa_textream/models/category.rb', line 15

def initialize
end

Instance Attribute Details

#nameObject

category name



7
8
9
# File 'lib/niwa_textream/models/category.rb', line 7

def name
  @name
end

#num_threadObject

category name



7
8
9
# File 'lib/niwa_textream/models/category.rb', line 7

def num_thread
  @num_thread
end

#parentObject

category name



7
8
9
# File 'lib/niwa_textream/models/category.rb', line 7

def parent
  @parent
end