lib/cfoundry/v2/user.rb in new_cfoundry-4.8.2 vs lib/cfoundry/v2/user.rb in new_cfoundry-4.8.3
- old
+ new
@@ -73,9 +73,13 @@
super(options)
@client.base.uaa.delete_user(guid)
true
end
+ def username
+ manifest.try(:[], :entity).try(:[], :username)
+ end
+
private
def get_meta_from_uaa
user = @client.base.uaa.user(guid)
return if user.nil?