4
5
6
7
8
9
10
11
12
13
14
|
# File 'lib/gs_graph/connections/tags.rb', line 4
def tags(options = {})
tags = self.connection :tags, options
if tags.first.is_a?(Tag)
tags
else
tags.map! do |tag|
tag[:access_token] ||= options[:access_token] || self.access_token
Tag.new tag
end
end
end
|