Sha256: 2e327cb39d40d3e6058efa62f25aa98866c6a17a369ca1147e9afd0ca28c9001

Contents?: true

Size: 210 Bytes

Versions: 8

Compression:

Stored size: 210 Bytes

Contents

class VotingInfo

  attr_reader :score
  attr_reader :upvote
  attr_reader :downvote

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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-hackernews-1.2.1 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.2.0 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.1.3 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.1.2 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.1.1 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.1.0 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.0.1 lib/ruby-hackernews/domain/entry/voting_info.rb
ruby-hackernews-1.0.0 lib/HNAPI/domain/entry/voting_info.rb