Sha256: 19257924ff1e592a2933e81eb32531cce719583f2109bef0544b1a173f752a2e

Contents?: true

Size: 260 Bytes

Versions: 8

Compression:

Stored size: 260 Bytes

Contents

module RubyHackernews

  class VotingInfo

    attr_reader :score
    attr_reader :upvote
    attr_reader :downvote

    def initialize(score, upvote, downvote)
      @score    =  score
      @upvote   = upvote
      @downvote = downvote
    end

  end

end  

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-hackernews-1.4.0 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.3.7 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.3.6 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.3.5 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.3.3 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.3.2 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.3.1 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.3.0 lib/ruby-hackernews/domain/entry/voting_info.rb