module GoodData::Mixin::Author

Public Instance Methods

author() click to toggle source

Gets author of an object

@return [GoodData::Profile] object author

# File lib/gooddata/mixins/author.rb, line 13
def author
  tmp = client.get(author_uri)
  client.create(GoodData::Profile, tmp, project: project)
end
author_uri() click to toggle source

Gets author URI of an object

@return [String] object author URI

# File lib/gooddata/mixins/author.rb, line 21
def author_uri
  meta['author']
end