Module: GSGraph::Connections::QuestionOptions
- Included in:
- Question
- Defined in:
- lib/gs_graph/connections/question_options.rb
Instance Method Summary collapse
Instance Method Details
#question_options(options = {}) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/gs_graph/connections/question_options.rb', line 4 def ( = {}) = self.connection :options, .map! do |question_option| QuestionOption.new question_option[:id], question_option.merge( :access_token => [:access_token] || self.access_token ) end end |