Module: FbGraph2::Edge::Domains
- Included in:
- User
- Defined in:
- lib/fb_graph2/edge/domains.rb
Instance Method Summary collapse
Instance Method Details
#domains(params = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fb_graph2/edge/domains.rb', line 4 def domains(params = {}) domains = self.edge :domains, params domains.collect! do |domain| Domain.new(domain[:id], domain).authenticate self.access_token end end |