You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/services/item_banks/save_item_service.rb

13 lines
233 B

5 years ago
class ItemBank::SaveItemService < ApplicationService
attr_reader :item, :params
def initialize(item, params)
@item = item
@params = params
end
def call
Competitions::SaveTeamForm.new(params).validate!
end
end