You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/queries/index.api.rsb

11 lines
303 B

api.array :queries, api_meta(:total_count => @query_count, :offset => @offset, :limit => @limit) do
@queries.each do |query|
api.query do
api.id query.id
api.name query.name
api.is_public query.is_public
api.project_id query.project_id
end
end
end