lib/gooddata/models/membership.rb in gooddata-0.6.15 vs lib/gooddata/models/membership.rb in gooddata-0.6.16
- old
+ new
@@ -48,12 +48,14 @@
'password' => data[:password],
'domain' => data[:domain],
# And following lines are even much more ugly hack
# 'authentication_modes' => ['sso', 'password']
},
+ 'links' => {},
'meta' => {}
}
}
+ json['user']['links']['self'] = data[:uri] if data[:uri]
c.create(self, json)
end
def diff_list(list_1, list_2)
GoodData::Helpers.diff(list_1, list_2, key: :login)