Sha256: d9b5a57d073254995cc7b47f971c725db5c68d36442288ef7570275191262e4c

Contents?: true

Size: 137 Bytes

Versions: 8

Compression:

Stored size: 137 Bytes

Contents

class VotingService
  include MechanizeContext

  def vote(url)
    require_authentication
    agent.get(url)
    return true
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-hackernews-1.2.1 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.2.0 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.1.3 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.1.2 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.1.1 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.1.0 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.0.1 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.0.0 lib/HNAPI/services/voting_service.rb