Class: Thredded::NullTopicRead

Inherits:
Object
  • Object
show all
Defined in:
app/models/thredded/null_topic_read.rb

Instance Method Summary collapse

Instance Method Details

#farthest_post ⇒ Object



15
16
17
# File 'app/models/thredded/null_topic_read.rb', line 15

def farthest_post
  Post.new
end

#page ⇒ Object



3
4
5
# File 'app/models/thredded/null_topic_read.rb', line 3

def page
  1
end

#post_id ⇒ Object



7
8
9
# File 'app/models/thredded/null_topic_read.rb', line 7

def post_id
  0
end

#posts_count ⇒ Object



11
12
13
# File 'app/models/thredded/null_topic_read.rb', line 11

def posts_count
  0
end