Class: AssignContractsService

Inherits:
ApplicationService show all
Defined in:
app/services/assign_contracts_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(contract_ids, ticket_id) ⇒ AssignContractsService

Returns a new instance of AssignContractsService.



4
5
6
7
# File 'app/services/assign_contracts_service.rb', line 4

def initialize(contract_ids, ticket_id)
  @contract_ids = contract_ids
  @ticket_id = ticket_id
end

Instance Method Details

#callObject



9
10
11
# File 'app/services/assign_contracts_service.rb', line 9

def call
  assign_contract
end