Class: AssignContractsService
- Inherits:
-
ApplicationService
- Object
- ApplicationService
- AssignContractsService
- Defined in:
- app/services/assign_contracts_service.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(contract_ids, ticket_id) ⇒ AssignContractsService
constructor
A new instance of AssignContractsService.
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
#call ⇒ Object
9 10 11 |
# File 'app/services/assign_contracts_service.rb', line 9 def call assign_contract end |