Module: FbGraph::Connections::Picture

Included in:
Album, Application, Event, Group, Page, Photo, User, Video
Defined in:
lib/fb_graph/connections/picture.rb

Instance Method Summary collapse

Instance Method Details

#picture(size = nil) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/fb_graph/connections/picture.rb', line 4

def picture(size = nil)
  _endpoint_ = "#{self.endpoint}/picture"
  if size
    _endpoint_ += "?type=#{size}"
  end
  _endpoint_
end