Method: Podio::Question.create
- Defined in:
- lib/podio/models/question.rb
.create(ref_type, ref_id, text, options) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/podio/models/question.rb', line 14 def create(ref_type, ref_id, text, ) response = Podio.connection.post do |req| req.url "/question/#{ref_type}/#{ref_id}/" req.body = {:text => text, :options => } end member response.body end |