Module: FbGraph2::Edge::Picture

Included in:
Album, App, FbGraph2::Event, Page, User
Defined in:
lib/fb_graph2/edge/picture.rb

Instance Method Summary collapse

Instance Method Details

#picture(*args) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/picture.rb', line 4

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