lib/gooddata/models/model.rb in gooddata-0.6.16 vs lib/gooddata/models/model.rb in gooddata-0.6.17
- old
+ new
@@ -27,9 +27,13 @@
class << self
def title(item)
item[:title] || item[:name].titleize
end
+ def description(item)
+ item[:description]
+ end
+
def identifier_for(dataset, column = nil, column2 = nil) # rubocop:disable UnusedMethodArgument
return "dataset.#{dataset[:name]}" if column.nil?
column = DatasetBlueprint.find_column_by_name(dataset, column) if column.is_a?(String)
case column[:type].to_sym
when :anchor_no_label