Method: ApiMaker::CreateCommandService#collection
- Defined in:
- app/services/api_maker/create_command_service.rb
#collection ⇒ Object
15 16 17 |
# File 'app/services/api_maker/create_command_service.rb', line 15 def collection @collection ||= model_class.accessible_by(@ability, :create) end |