Module: FbGraph2::Edge::Milestones

Included in:
Page
Defined in:
lib/fb_graph2/edge/milestones.rb

Instance Method Summary collapse

Instance Method Details

#milestones(params = {}) ⇒ Object



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

def milestones(params = {})
  milestones = self.edge :milestones, params
  milestones.collect! do |milestone|
    Milestone.new(milestone[:id], milestone).authenticate self.access_token
  end
end