lib/ruby-hackernews/services/voting_service.rb in ruby-hackernews-1.2.1 vs lib/ruby-hackernews/services/voting_service.rb in ruby-hackernews-1.3.0
- old
+ new
@@ -1,11 +1,14 @@
+module RubyHackernews
-class VotingService
- include MechanizeContext
+ class VotingService
+ include MechanizeContext
- def vote(url)
- require_authentication
- agent.get(url)
- return true
+ def vote(url)
+ require_authentication
+ agent.get(url)
+ return true
+ end
+
end
-end
\ No newline at end of file
+end