Module: GoodData::Mixin::Author
- Included in:
- Project, ProjectRole, UserGroup
- Defined in:
- lib/gooddata/mixins/author.rb
Instance Method Summary collapse
-
#author ⇒ GoodData::Profile
Gets author of an object.
-
#author_uri ⇒ String
Gets author URI of an object.
Instance Method Details
#author ⇒ GoodData::Profile
Gets author of an object
13 14 15 16 |
# File 'lib/gooddata/mixins/author.rb', line 13 def tmp = client.get() client.create(GoodData::Profile, tmp, project: project) end |
#author_uri ⇒ String
Gets author URI of an object
21 22 23 |
# File 'lib/gooddata/mixins/author.rb', line 21 def ['author'] end |