Sha256: b839b06ad0154c89320f203e0e2d9657faad95db8f7fcfc14fcf2daa3941e5d3

Contents?: true

Size: 304 Bytes

Versions: 33

Compression:

Stored size: 304 Bytes

Contents

module FbGraph2
  class Edge
    module Picture
      def picture(*args)
        params = args.extract_options!
        params[:type] = args.first if args.first
        picture = self.get params.merge(redirect: false), edge: :picture
        Struct::Picture.new picture[:data]
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
fb_graph2-0.7.4 lib/fb_graph2/edge/picture.rb
fb_graph2-0.7.3 lib/fb_graph2/edge/picture.rb
fb_graph2-0.7.2 lib/fb_graph2/edge/picture.rb
fb_graph2-0.7.1 lib/fb_graph2/edge/picture.rb
fb_graph2-0.7.0 lib/fb_graph2/edge/picture.rb
fb_graph2-0.6.2 lib/fb_graph2/edge/picture.rb
fb_graph2-0.6.1 lib/fb_graph2/edge/picture.rb
fb_graph2-0.6.0 lib/fb_graph2/edge/picture.rb
fb_graph2-0.5.3 lib/fb_graph2/edge/picture.rb
fb_graph2-0.5.2 lib/fb_graph2/edge/picture.rb
fb_graph2-0.5.1 lib/fb_graph2/edge/picture.rb
fb_graph2-0.5.0 lib/fb_graph2/edge/picture.rb
fb_graph2-0.4.4 lib/fb_graph2/edge/picture.rb
fb_graph2-0.4.3 lib/fb_graph2/edge/picture.rb
fb_graph2-0.4.1 lib/fb_graph2/edge/picture.rb
fb_graph2-0.4.0 lib/fb_graph2/edge/picture.rb
fb_graph2-0.3.2 lib/fb_graph2/edge/picture.rb
fb_graph2-0.3.1 lib/fb_graph2/edge/picture.rb
fb_graph2-0.3.0 lib/fb_graph2/edge/picture.rb
fb_graph2-0.2.0 lib/fb_graph2/edge/picture.rb