Sha256: 3900c2524a1f9215decea225c7acc908c2834e078befad1b462567d3084e2905

Contents?: true

Size: 446 Bytes

Versions: 42

Compression:

Stored size: 446 Bytes

Contents

module FbGraph
  module Connections
    module Declined
      def declined(options = {})
        members = self.connection(:declined, options)
        members.map! do |member|
          User.new(member[:id], member.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end

      def declined!(options = {})
        post(options.merge(:connection => :declined))
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fb_graph-1.8.2 lib/fb_graph/connections/declined.rb
fb_graph-1.8.1 lib/fb_graph/connections/declined.rb