Class: Stay::Seeds::Roles
- Inherits:
-
Object
- Object
- Stay::Seeds::Roles
- Defined in:
- app/services/stay/seeds/roles.rb
Class Method Summary collapse
Class Method Details
.call ⇒ Object
4 5 6 |
# File 'app/services/stay/seeds/roles.rb', line 4 def self.call Stay::Role.where(name: 'admin').first_or_create! end |