Class: Trefoil::ThreadStub

Inherits:
Thread
  • Object
show all
Defined in:
lib/trefoil/thread.rb

Overview

Used for catalog

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Thread

#[], #posts, #update

Constructor Details

#initialize(client, board, id, op) ⇒ ThreadStub

Returns a new instance of ThreadStub.



53
54
55
56
# File 'lib/trefoil/thread.rb', line 53

def initialize(client, board, id, op)
  @op = op
  super(client, board, id)
end

Instance Attribute Details

#opObject (readonly)

Returns the value of attribute op.



51
52
53
# File 'lib/trefoil/thread.rb', line 51

def op
  @op
end