We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14de099 + b54caf6 commit ed8bc53Copy full SHA for ed8bc53
1 file changed
lib/gooddata/models/metadata/report.rb
@@ -158,7 +158,7 @@ def purge_report_of_unused_definitions!
158
# @param definition [String | GoodData::ReportDefinition] Report defintion to remove
159
# @return [GoodData::Report] Returns report with removed definition
160
def remove_definition(definition)
161
- a_def = GoodData::ReportDefinition(definition, project: project, client: client)
+ a_def = GoodData::ReportDefinition[definition, project: project, client: client]
162
def_uri = a_def.uri
163
content['definitions'] = definition_uris.reject { |x| x == def_uri }
164
self
0 commit comments