lib/gooddata/models/project_role.rb in gooddata-0.6.24 vs lib/gooddata/models/project_role.rb in gooddata-0.6.25
- old
+ new
@@ -11,19 +11,13 @@
require_relative '../rest/rest'
require_relative '../mixins/rest_resource'
module GoodData
- class ProjectRole < GoodData::Rest::Object
- attr_accessor :json
-
- include GoodData::Mixin::RestResource
-
- root_key :projectRole
-
- include GoodData::Mixin::Author
- include GoodData::Mixin::Contributor
- include GoodData::Mixin::Timestamps
+ class ProjectRole < Rest::Resource
+ include Mixin::Author
+ include Mixin::Contributor
+ include Mixin::Timestamps
EMPTY_OBJECT = {
'projectRole' => {
'permissions' => {},
'links' => {},