Sha256: 727737e36961729a19ff5a1a6a7f40cd8925461184a49fcf8afe6052ee7fda5e

Contents?: true

Size: 314 Bytes

Versions: 9

Compression:

Stored size: 314 Bytes

Contents

module FbGraph2
  class Edge
    module Locations
      def locations(params = {})
        pages = self.edge :locations, params
        pages.collect do |page|
          Page.new(page[:id], page).authenticate self.access_token
        end
      end

      # TODO: add, delete and update locations
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fb_graph2-0.1.0 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.11 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.10 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.9 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.8 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.7 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.6 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.5 lib/fb_graph2/edge/locations.rb
fb_graph2-0.0.4 lib/fb_graph2/edge/locations.rb