Sha256: dae81234a5fa9e9db7e69ad8d939494d6f27188e4589c9a6014938305aa5442a

Contents?: true

Size: 348 Bytes

Versions: 18

Compression:

Stored size: 348 Bytes

Contents

module FbGraph
  module Connections
    module Accounts
      def accounts(options = {})
        accounts = self.connection(:accounts, options)
        accounts.map! do |account|
          account[:access_token] ||= options[:access_token] || self.access_token
          Page.new(account.delete(:id), account)
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fb_graph-1.8.0 lib/fb_graph/connections/accounts.rb
fb_graph-1.8.0.alpha2 lib/fb_graph/connections/accounts.rb
fb_graph-1.7.5 lib/fb_graph/connections/accounts.rb
fb_graph-1.8.0.alpha lib/fb_graph/connections/accounts.rb
fb_graph-1.7.4 lib/fb_graph/connections/accounts.rb
fb_graph-1.7.3 lib/fb_graph/connections/accounts.rb
fb_graph-1.7.2 lib/fb_graph/connections/accounts.rb
fb_graph-1.7.1 lib/fb_graph/connections/accounts.rb
fb_graph-1.7.0 lib/fb_graph/connections/accounts.rb
fb_graph-1.7.0.alpha2 lib/fb_graph/connections/accounts.rb
fb_graph-1.6.9 lib/fb_graph/connections/accounts.rb
fb_graph-1.7.0.alpha lib/fb_graph/connections/accounts.rb
fb_graph-1.6.8 lib/fb_graph/connections/accounts.rb
fb_graph-1.6.7 lib/fb_graph/connections/accounts.rb
fb_graph-1.6.5 lib/fb_graph/connections/accounts.rb
fb_graph-1.6.4 lib/fb_graph/connections/accounts.rb
fb_graph-1.6.3 lib/fb_graph/connections/accounts.rb
fb_graph-1.6.2 lib/fb_graph/connections/accounts.rb