cartodb/app/models/carto/dashboard_search_result.rb

13 lines
274 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
module Carto
class DashboardSearchResult
attr_accessor :tags, :visualizations, :total_count
def initialize(tags: [], visualizations: [], total_count: 0)
@tags = tags
@visualizations = visualizations
@total_count = total_count
end
end
end