Class: BlackStack::Client
- Inherits:
-
Object
- Object
- BlackStack::Client
- Defined in:
- lib/dbclasses.rb
Overview
class User
Instance Method Summary collapse
-
#categories ⇒ Object
return all categories of all the users of this client.
-
#flags ⇒ Object
return all flags of all the users of this client.
Instance Method Details
#categories ⇒ Object
return all categories of all the users of this client
23 24 25 |
# File 'lib/dbclasses.rb', line 23 def categories() return self.users.map{|u| u.categories}.flatten end |
#flags ⇒ Object
return all flags of all the users of this client
18 19 20 |
# File 'lib/dbclasses.rb', line 18 def flags() return self.users.map{|u| u.flags}.flatten end |