Class: StrawpollApi
- Inherits:
-
Object
- Object
- StrawpollApi
- Includes:
- HTTParty
- Defined in:
- lib/cinch/plugins/strawpoll/api.rb
Overview
Strawpoll api adapter
Instance Method Summary collapse
Instance Method Details
#create_poll(title, choices) ⇒ Object
14 15 16 17 |
# File 'lib/cinch/plugins/strawpoll/api.rb', line 14 def create_poll(title, choices) response = create_poll_request(title, choices) response end |