Class: Snooby::Post

Inherits:
Struct
  • Object
show all
Includes:
Comments, Delete, Reply, Voting
Defined in:
lib/snooby/post.rb

Instance Method Summary collapse

Methods included from Comments

#comments

Methods included from Reply

#reply

Methods included from Delete

#delete

Methods included from Voting

#downvote, #rescind, #upvote, #vote

Constructor Details

#initializePost

Returns a new instance of Post.



5
6
7
8
# File 'lib/snooby/post.rb', line 5

def initialize(*)
  super
  @kind = 'post'
end