Sha256: 66eef5f1d0dd3d2135529c442e93454cfca27869fde2fc3bf26a0113f28120aa

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

module FbGraph
  module Connections
    module Music
      def music(options = {})
        music = FbGraph::Collection.new(get(options.merge(:connection => 'music')))
        music.map! do |_music_|
          Page.new(_music_.delete(:id), _music_.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-0.4.2 lib/fb_graph/connections/music.rb
fb_graph-0.4.1 lib/fb_graph/connections/music.rb
fb_graph-0.4.0 lib/fb_graph/connections/music.rb
fb_graph-0.3.0 lib/fb_graph/connections/music.rb