Method: GoodData::UserFilter#variable

Defined in:
lib/gooddata/models/user_filters/user_filter.rb

#variableGoodData::Project | GoodData::Profile

Returns the the object of this filter is related to. It can be either project or a user

Returns:



41
42
43
44
# File 'lib/gooddata/models/user_filters/user_filter.rb', line 41

def variable
  uri = @json[:prompt]
  GoodData::Variable[uri, client: client, project: project]
end