Class: Wco::Profile

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps
Defined in:
app/models/wco/profile.rb

Class Method Summary collapse

Class Method Details

.listObject



17
18
19
# File 'app/models/wco/profile.rb', line 17

def self.list
  all.map { |p| [ p.email, p.id ] }
end