Module: FbGraph2::Edge::Subscriptions

Included in:
App
Defined in:
lib/fb_graph2/edge/subscriptions.rb

Instance Method Summary collapse

Instance Method Details

#subscriptions(params = {}) ⇒ Object



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

def subscriptions(params = {})
  subscriptions = self.edge :subscriptions, params
  subscriptions.collect! do |subscription|
    Struct::Subscription.new subscription
  end
end