Module: FbGraph::Connections::Tags
Defined Under Namespace
Modules: Taggable
Instance Method Summary (collapse)
Instance Method Details
- (Object) tags(options = {})
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fb_graph/connections/tags.rb', line 4 def ( = {}) = self.connection :tags, if .first.is_a?(Tag) else .map! do |tag| tag[:access_token] ||= [:access_token] || self.access_token Tag.new tag end end end |