Sha256: f8d137ecfb590a259da03f817c6541151229808a4462c8018fdd7c6d54eda0fc

Contents?: true

Size: 193 Bytes

Versions: 10

Compression:

Stored size: 193 Bytes

Contents

module Thredded
  class NullTopicRead
    def page
      1
    end

    def post_id
      0
    end

    def posts_count
      0
    end

    def farthest_post
      Post.new
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
thredded-0.2.2 app/models/thredded/null_topic_read.rb
thredded-0.0.12 app/models/thredded/null_topic_read.rb
thredded-0.0.10 app/models/thredded/null_topic_read.rb
thredded-0.0.9 app/models/thredded/null_topic_read.rb
thredded-0.0.8 app/models/thredded/null_topic_read.rb
thredded-0.0.7 app/models/thredded/null_topic_read.rb
thredded-0.0.6 app/models/thredded/null_topic_read.rb
thredded-0.0.5 app/models/thredded/null_topic_read.rb
thredded-0.0.4 app/models/thredded/null_topic_read.rb
thredded-0.0.3 app/models/thredded/null_topic_read.rb