Module: FbGraph::Connections::Admins
- Included in:
- Page
- Defined in:
- lib/fb_graph/connections/admins.rb
Instance Method Summary collapse
Instance Method Details
#admin?(user, options = {}) ⇒ Boolean
4 5 6 7 |
# File 'lib/fb_graph/connections/admins.rb', line 4 def admin?(user, = {}) admin = self.connection :admins, .merge(:connection_scope => user.identifier) admin.present? end |