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.1.3 lib/fb_graph2/edge/picture.rb
fb_graph2-0.1.2 lib/fb_graph2/edge/picture.rb
fb_graph2-0.1.1 lib/fb_graph2/edge/picture.rb
fb_graph2-0.1.0 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.11 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.10 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.9 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.8 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.7 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.6 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.5 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.4 lib/fb_graph2/edge/picture.rb
fb_graph2-0.0.3 lib/fb_graph2/edge/picture.rb