Module: Checkdin::Votes
- Included in:
- Client
- Defined in:
- lib/checkdin/votes.rb
Instance Method Summary collapse
-
#votes(options = {}) ⇒ Object
Get a list of all votes for the authenticating client.
Instance Method Details
#votes(options = {}) ⇒ Object
Get a list of all votes for the authenticating client.
10 11 12 13 14 15 |
# File 'lib/checkdin/votes.rb', line 10 def votes(={}) response = connection.get do |req| req.url "votes", end return_error_or_body(response) end |