Method: ApiMaker::CommandResponse#initialize
- Defined in:
- app/services/api_maker/command_response.rb
#initialize(controller:) ⇒ CommandResponse
Returns a new instance of CommandResponse.
4 5 6 7 8 9 10 |
# File 'app/services/api_maker/command_response.rb', line 4 def initialize(controller:) @controller = controller @locale = I18n.locale @mutex = Mutex.new @result = {} @threads = [] end |