Sha256: 34923ba34a1a7a1a2acec354d67da456919ac325417228cac810da7ecd2093f4

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

module FbGraph
  module Connections
    module Questions
      def questions(options = {})
        questions = self.connection :questions, options
        questions.map! do |question|
          Question.new question[:id], question.merge(
            :access_token => options[:access_token] || self.access_token
          )
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fb_graph-2.2.6 lib/fb_graph/connections/questions.rb
fb_graph-2.2.5 lib/fb_graph/connections/questions.rb
fb_graph-2.2.4 lib/fb_graph/connections/questions.rb
fb_graph-2.2.3 lib/fb_graph/connections/questions.rb
fb_graph-2.2.2 lib/fb_graph/connections/questions.rb
fb_graph-2.2.1 lib/fb_graph/connections/questions.rb