Sha256: a6e768f81d195135131aede896f2e70b5e0d970421f88a591f84938926c14910

Contents?: true

Size: 181 Bytes

Versions: 8

Compression:

Stored size: 181 Bytes

Contents

module RubyHackernews

  class VotingService
    include MechanizeContext

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

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-hackernews-1.4.0 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.3.7 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.3.6 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.3.5 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.3.3 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.3.2 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.3.1 lib/ruby-hackernews/services/voting_service.rb
ruby-hackernews-1.3.0 lib/ruby-hackernews/services/voting_service.rb