lib/aptible/auth/role.rb in aptible-auth-0.3.2 vs lib/aptible/auth/role.rb in aptible-auth-0.4.0
- old
+ new
@@ -1,6 +1,8 @@
module Aptible
class Auth::Role < Auth::Resource
+ belongs_to :organization
+
def privileged?
!!attributes['privileged']
end
end
end