Sha256: c4f86a5432ceb55c21f4a1853752a81a0cb5f463a2ff4e19be10bb4a58a81313

Contents?: true

Size: 443 Bytes

Versions: 17

Compression:

Stored size: 443 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

17 entries across 17 versions & 1 rubygems

Version Path
fb_graph-2.4.14 lib/fb_graph/connections/declined.rb
fb_graph-2.4.13 lib/fb_graph/connections/declined.rb
fb_graph-2.4.12 lib/fb_graph/connections/declined.rb
fb_graph-2.4.11 lib/fb_graph/connections/declined.rb
fb_graph-2.4.10 lib/fb_graph/connections/declined.rb
fb_graph-2.4.9 lib/fb_graph/connections/declined.rb
fb_graph-2.4.8 lib/fb_graph/connections/declined.rb
fb_graph-2.4.7 lib/fb_graph/connections/declined.rb
fb_graph-2.4.6 lib/fb_graph/connections/declined.rb
fb_graph-2.4.4 lib/fb_graph/connections/declined.rb
fb_graph-2.4.3 lib/fb_graph/connections/declined.rb
fb_graph-2.4.2 lib/fb_graph/connections/declined.rb
fb_graph-2.4.1 lib/fb_graph/connections/declined.rb
fb_graph-2.4.0 lib/fb_graph/connections/declined.rb
fb_graph-2.3.2 lib/fb_graph/connections/declined.rb
fb_graph-2.3.1 lib/fb_graph/connections/declined.rb
fb_graph-2.3.0 lib/fb_graph/connections/declined.rb