Sha256: 647dd0828a99a17165273fc1402ec3cf9799fd05e615c641f526f7ee16feb24c

Contents?: true

Size: 160 Bytes

Versions: 9

Compression:

Stored size: 160 Bytes

Contents

api.array :tags, api_meta(total_count: @count, tag_type: @tag_type) do
  @tags.each do |tag|
    api.tag id: tag.id, name: tag.name, count: tag.count
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
additional_tags-3.4.0 app/views/additional_tags/index.api.rsb
additional_tags-3.3.2 app/views/additional_tags/index.api.rsb
additional_tags-3.3.1 app/views/additional_tags/index.api.rsb
additional_tags-3.2.0 app/views/additional_tags/index.api.rsb
additional_tags-3.1.0 app/views/additional_tags/index.api.rsb
additional_tags-3.0.9 app/views/additional_tags/index.api.rsb
additional_tags-1.0.7 app/views/additional_tags/index.api.rsb
additional_tags-1.0.6 app/views/additional_tags/index.api.rsb
additional_tags-1.0.5 app/views/additional_tags/index.api.rsb